Article ID: 162816
Article Last Modified on 10/11/2006
Sub SaveAsAllFormats()
Dim FileName As String
Dim ThePath As String
' Retrieve the name of the active presentation.
FileName = ActivePresentation.Name
' Retrieve the path to the active presentation.
ThePath = ActivePresentation.Path
With ActivePresentation
' Save the presentation in PowerPoint 3.0 format.
.SaveAs ThePath & FileName & " 3", ppSaveAsPowerPoint3
' Save the presentation as in PowerPoint 4.0 format.
.SaveAs ThePath & FileName & " 4", ppSaveAsPowerPoint4
' Save the presentation in PowerPoint 7.0 format.
.SaveAs ThePath & FileName & " 95", ppSaveAsPowerPoint7
' Save the presentation in PowerPoint 97 format.
.SaveAs ThePath & FileName & " 97", ppSaveAsPresentation
End With
End Sub
163435 VBA: Programming Resources for Visual Basic for Applications
Additional query words: 97 8.00 kbmacro kbpptvba ppt8 vba vbe ppt8.0 powerpnt program programming
Keywords: kbcode kbdtacode kbhowto kbmacro kbprogramming KB162816