Saves a presentation that's never been saved, or saves a previously saved presentation under a different name.
Syntax
expression.SaveAs(Filename, FileFormat, EmbedFonts)
expression Required. An expression that returns a Presentation object.
Filename Required String. Specifies the name to save the file under. If you don't include a full path, PowerPoint saves the file in the current folder.
FileFormat Optional Long. Specifies the saved file format. If this argument is omitted, the file is saved in the format of a presentation in the current version of PowerPoint (ppSaveAsPresentation). Can be one of the following PpSaveAsFileType constants.
ppSaveAsAddIn
ppSaveAsBMP ppSaveAsDefault ppSaveAsGIF ppSaveAsHTML ppSaveAsHTMLDual ppSaveAsHTMLv3 ppSaveAsJPG ppSaveAsMetaFile ppSaveAsPNG |
ppSaveAsPowerPoint3
ppSaveAsPowerPoint4 ppSaveAsPowerPoint4FarEast ppSaveAsPowerPoint7 ppSaveAsPresentation ppSaveAsRTF ppSaveAsShow ppSaveAsTemplate |
EmbedFonts Optional Long. True to have PowerPoint embed TrueType fonts in the saved presentation. The default value is False.