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

  • Thread starter Thread starter Artemisia
  • Start date Start date
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
 
Back
Top