Document.WizardAfterChange event (Publisher)

Occurs after the user chooses an option in the wizard pane that changes any of the following settings in the publication: page layout (page size, fold type, orientation, label product), print setup (paper size, print tiling), adding or deleting objects, adding or deleting pages, or object or page formatting (size, position, fill, border, background, default text, text formatting).

Syntax

expression.WizardAfterChange

expression A variable that represents a Document object.

Remarks

The WizardAfterChange event only occurs once regardless of the scope or number of individual modifications made to the publication.

To access the Document object events, declare a Document object variable in the General Declarations section of a class module, and then set the variable equal to the Document object for which you want to access events.

For more information about using events with the Document object, see Using events with the Document object.

Example

This example displays a message when a publication is altered by using the wizard pane. The procedure can be stored in the ThisDocument module of a publication.

Private Sub Document_WizardAfterChange() 
 MsgBox "Remember to save changes made " _ 
 & "through the wizard pane!" 
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.