The following code example demonstrates an event handler for the MailMergeWizardStateChange event. The event handler displays a message each time the user advances to the next step in the Mail Merge wizard.
This example is for a document-level customization.