This documentation is archived and is not being maintained.

Document.IsWizard Property

Office 2007
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



Show: