Table of contents
Collapse the table of content
Expand the table of content

Document.WizardAfterChange Event (Publisher)

office 365 dev account|Last Updated: 8/24/2017
3 Contributors

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).


expression. WizardAfterChange

_expression_A variable that represents a Document object.


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, 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.


This example displays a message when a publication is altered 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
© 2018 Microsoft