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

Document.IsWizard Property (Publisher)

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

Returns True if the specified publication is a publication generated by a Microsoft Publisher wizard. Read-only Boolean.

Syntax

expression. IsWizard

_expression_A variable that represents an Document object.

Return Value

Boolean

Remarks

Use the Wizard property of the Document object to access the wizard for the specified publication.

Example

The following example tests to determine whether the active document is a wizard publication. If it is, certain wizard properties are returned.

With ActiveDocument 
 If .IsWizard = True Then 
 Debug.Print .Wizard.Name 
 Debug.Print .Wizard.ID 
 End If 
End With
© 2018 Microsoft