Application object (Publisher)
Represents the Microsoft Publisher application. The Application object includes properties and methods that return top-level objects. For example, the ActiveDocument property returns a Document object.
When using Microsoft Visual Basic for Applications in Publisher, all of the properties and methods of the Application object can be used without the Application object qualifier. For example, instead of typing
Application.ActiveDocument.PrintOut, you can type
ActiveDocument.PrintOut. Properties and methods that can be used without the Application object qualifier are considered "global." To view the global properties and methods in the Object Browser, click
Use the Application property to return the Application object. The following example displays the application name.
Sub ShowAppName() MsgBox Application.Name End Sub
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.