Document.IsWizard property (Publisher)

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 a Document object.

Return value

Boolean

Remarks

Use the Wizard property 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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.