Powerpoint Graphics Export

J

JIm

I am trying to export selected picture in slides in Powerpoint 2007
THe following code is suppose export Picture 8 but instead it is
exposrt all the slides in the presentation how come

ActiveWindow.Selection.SlideRange.Shapes("Picture 8").Select
ActivePresentation.SaveAs FileName:="C:\My
Documents\Powerpoint\Image Exporter\Picture 8.jpg",
FileFormat:=ppSaveAsJPG, EmbedTrueTypeFonts:=msoFalse
 
S

Steve Rindsberg

I am trying to export selected picture in slides in Powerpoint 2007
THe following code is suppose export Picture 8 but instead it is
exposrt all the slides in the presentation how come

ActiveWindow.Selection.SlideRange.Shapes("Picture 8").Select
ActivePresentation.SaveAs FileName:="C:\My
Documents\Powerpoint\Image Exporter\Picture 8.jpg",
FileFormat:=ppSaveAsJPG, EmbedTrueTypeFonts:=msoFalse

ActivePresentation.Save saves the active presentation.

I think you want the .Export method of the Shape.

To use it, you need to rightclick in the "Members" section of the
Object Browser (press F2 to launch it while in the IDE). Pick "Show
hidden members" on the pop up menu.
 
J

Jim

Steve:

Ahh yes the old let hide from the user to torment them trick. I am
been VBAing for a while and did not know that "hidden" exsisted. You
have opened up a whole new world

Any other valuable pearls

AlthoughOn Mon, 04 May 2009 10:00:24 -0400, Steve Rindsberg
 
S

Steve Rindsberg

Ahh yes the old let hide from the user to torment them trick. I am
been VBAing for a while and did not know that "hidden" exsisted. You
have opened up a whole new world

Any other valuable pearls

That's all I can think of offhand.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top