WizardProperty.Enabled property (Publisher)

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

Syntax

expression.Enabled

expression A variable that represents a 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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.