Share via


IsWizard Property [Publisher 2003 VBA Language Reference]

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

expression.IsWizard

expression Required. An expression that returns one of the objects in the Applies To list.

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

Applies to | Document Object