הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
Closes the specified document window.
Syntax
expression.Close
expression A variable that represents a DocumentWindow object.
Remarks
When you use this method, PowerPoint will close an open presentation without prompting users to save their work. To prevent the loss of work, use the Save method or the SaveAs method before you use the Close method.
Example
This example closes all windows except the active window.
With Application.Windows
For i = 2 To .Count
.Item(i).Close
Next
End With
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.