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)

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub ApplicationEvents4_MailMergeWizardStateChangeEventHandler ( _
	Doc As Document, _
	ByRef FromState As Integer, _
	ByRef ToState As Integer, _
	ByRef Handled As Boolean _
)
'Usage
Dim instance As New ApplicationEvents4_MailMergeWizardStateChangeEventHandler(AddressOf HandlerMethod)

Parameters

Doc
Type: Microsoft.Office.Interop.Word.Document

The mail merge main document.

FromState
Type: System.Int32

The Mail Merge Wizard step from which a user is moving.

ToState
Type: System.Int32

The Mail Merge Wizard step to which a user is moving.

Handled
Type: System.Boolean

True moves the user to the next step. False for the user to remain at the current step.

Show: