Share via


Enabled Property [Publisher 2003 VBA Language Reference]

True if a wizard property is enabled. Read-only Boolean.

expression.Enabled

expression Required. An expression that returns a WizardProperty object.

Example

This example displays the name of each enabled wizard property in the active publication.

Sub SetEnabledProperty()
    Dim wizProperty As WizardProperty
    For Each wizProperty In ActiveDocument.Wizard.Properties
        If wizProperty.Enabled = True Then
            MsgBox "The name of the wizard property is " & wizProperty.Name
        End If
    Next
End Sub

Applies to | WizardProperty Object