Application.Quit Method
Publisher Developer Reference |
Quits Microsoft Office Publisher. This is equivalent to clicking Exit on the File menu.
Syntax
expression.Quit
expression A variable that represents an Application object.
Remarks
To avoid losing unsaved changes, use either the Save or SaveAs method to save any open publication before calling the Quit method.
Example
This example saves the open publication if there is one and then closes Publisher.
Visual Basic for Applications |
---|
|
See Also