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

MailMerge.WizardState Property (Publisher)

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

Returns or sets a Long indicating the current Mail Merge wizard step for a publication. The WizardState property returns a number that equates to the current Mail Merge wizard step; a zero (0) means the Mail Merge wizard is closed. Read/write.


expression. WizardState

_expression_A variable that represents a MailMerge object.

Return Value



This example displays the Mail Merge wizard if it is closed.

Sub ShowMergeWizard() 
 With ActiveDocument.MailMerge 
 If .WizardState = 0 Then 
 End If 
 End With 
End Sub
© 2018 Microsoft