To avoid the user being prompted, set the Saved property of the Presentation object to True before using the Close method-for example: : PowerPoint « PowerPoint « VBA / Excel / Access / Word






To avoid the user being prompted, set the Saved property of the Presentation object to True before using the Close method-for example:

 
Sub save()
    With Presentations("Your PPT.ppt")
        .Saved = True
        .Close
    End With
End Sub

 








Related examples in the same category

1.Closing a Presentation
2.Adding a Slide to a Presentation