Application.ShowCatalogUI Event
Publisher Developer Reference |
Fires when the catalog of publication wizards is displayed in the Microsoft Office Publisher user interface.
Version Information
Version Added: Publisher 2007
Syntax
expression.ShowCatalogUI
expression An expression that returns a Application object.
Remarks
You can use the Application.ShowWizardCatalog method to display the wizard catalog in the user interface.
The ShowCatalogUI event does not fire when the publication catalog is displayed when Publisher first starts. To determine if the catalog is displayed at that time, you can use the WizardCatalogVisible property.
For more information about using events with the Application object, see Using Events with the Application Object.
Example
The following Microsoft Visual Basic for Applications (VBA) macro shows how to handle the ShowCatalogUI event. It displays a message notifying the user that the catalog UI was displayed.
Visual Basic for Applications |
---|
|
For this event to occur, you must place the following line of code in the General Declarations section of your module.
Visual Basic for Applications |
---|
|
Then run the following initialization procedure.
Visual Basic for Applications |
---|
|