WizardProperty.Enabled Property (Publisher)

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

Syntax

expression. Enabled

expression A variable that represents an WizardProperty object.

Return Value

Boolean

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