How to Saveas Gif a Single Slide by Macro in PPT2007?

A

Artemisia

Hello,

In PowerPoint 2007, if I want to save a single slide in Gif format, I
can do Office - Save As - select Gif in the list of file types, and
then click on Current Slide Only in the presentation.

If I try to do this by macro, e.g.

ActivePresentation.Slides.Range(Array(9)).Select
ActivePresentation.SaveAs filename:="C:\Test\MySlide.gif",
FileFormat:=ppSaveAsGIF, EmbedTrueTypeFonts:=msoFalse

this saves the entire presentation instead of the single slide, under
a folder called MySlide, with all the slides numbered as gifs within
this. That's not what I want at all.

Is there any code to save just a given slideIndex with the Saveas
method?

Thanks

EF Roselli
Ile de France
 

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