Share via


Document.IsWizard Property

Publisher Developer Reference

Returns True if the specified publication is a publication generated by a Microsoft Office 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.

Visual Basic for Applications
  With ActiveDocument
        If .IsWizard = True Then
            Debug.Print .Wizard.Name
            Debug.Print .Wizard.ID
        End If
End With

See Also