MailMerge.WizardState Property
Word Developer Reference |
Returns or sets a Long indicating the current Mail Merge Wizard step for a document. The WizardState method returns a number that equates to the current Mail Merge Wizard step; a zero (0) means the Mail Merge Wizard is closed. Read/write.
Syntax
expression.WizardState
expression A variable that represents a MailMerge object.
Example
This example checks if the Mail Merge Wizard is already displayed in the active document and if it is, moves to the Mail Merge Wizard's sixth step and removes the fifth step from the Wizard.
Visual Basic for Applications |
---|
|
See Also