Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Merging Powerpoint slides with vba 1

Status
Not open for further replies.

idarke

Programmer
Jul 23, 2001
420
US
Does anyone know how I can extract a slide from a powerpoint file on disk and merge it into the currently open powerpoint presentation using vba?

I can do it from the file menu, but cannot find a way to do it in a macro.

I have Powerpoint 97. Upgrading is possible if it helps solve my problem.

Thanks!
 
Try:

ActivePresentation.Slides.InsertFromFile _
"path\filename.ppt", 1, 2, 3

where 1 is the index, 2 is start & 3 is end
 
Thanks very much! I'll give it a try and let you know.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top