This documentation is archived and is not being maintained.

ApplicationEvents4_MailMergeWizardStateChangeEventHandler Delegate

A Delegate type used to add an event handler for the MailMergeWizardStateChange event. The MailMergeWizardStateChange event occurs when a user changes from a specified step to a specified step in the Mail Merge Wizard.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

public delegate void ApplicationEvents4_MailMergeWizardStateChangeEventHandler(
	Document Doc,
	ref int FromState,
	ref int ToState,
	ref bool Handled


Type: Microsoft.Office.Interop.Word.Document
The mail merge main document.
Type: System.Int32%
The Mail Merge Wizard step from which a user is moving.
Type: System.Int32%
The Mail Merge Wizard step to which a user is moving.
Type: System.Boolean%
True moves the user to the next step. False for the user to remain at the current step.