Share via


Page.IsWizardPage Property

Publisher Developer Reference

Returns True if the specified page is a Microsoft Office Publisher wizard page. Read-only Boolean.

Syntax

expression.IsWizardPage

expression   A variable that represents an Page object.

Return Value
Boolean

Remarks

Wizard pages are special page types for certain types of Publisher wizards (such as Newsletters, Catalogs, and Web Wizards) that can be inserted into a publication.

Use the Wizard property of the Page object to access the wizard for the specified page.

Example

The following example tests to determine whether the specified page is a wizard page. If it is, certain wizard properties are returned.

Visual Basic for Applications
      With ActiveDocument.Pages(1)
        If .IsWizardPage = True Then
            
            With .Wizard
                Debug.Print .Name
                Debug.Print .Properties(1).Name
                Debug.Print .Properties(1).CurrentValueId
            End With
            
        End If
    End With

See Also