WizardCatalogVisible Property

Microsoft Publisher Visual Basic

expression.WizardCatalogVisible

expression    Required. An expression that returns the Application object.

Example

The following example stores the current state of the Wizard Catalog in order to restore it later.

Sub WizardCatalogExample()
    Dim blnWizardCatalog As Boolean

    ' Store current state of Wizard Catalog.
    blnWizardCatalog = Application.WizardCatalogVisible

    ' Code can run here that shows or hides the Wizard
    ' Catalog as necessary; the original setting
    ' will be restored at the end of the procedure.

    ' Restore original state of Wizard Catalog.
    Application.WizardCatalogVisible = blnWizardCatalog
End Sub