Hi David,
Thanks for reply :)
The same code is working fine if I have the PPT file saved on the same path where my .pot files are and I am using relative path to these .pot files. Relative path is "Templates:MCQ.pot".
And even if I copy these .pot files to MSOffice template folder and use relative path it works fine.
But if I reference these .pot files using absolute path then again its not working.
Application.ActivePresentation.Slides.InsertFromFile(:Templates:MCQ.pot", lSlideIndex, 1, 1)
This line of code working fine if I have relative path and the ppt is saved on the same location where Template folder is.