WizardProperty object (Publisher)
Represents a setting that is part of a specific publication design or a Design Gallery object's wizard.
Remarks
Use the Item property or the FindByPropertyID method of the WizardProperties collection to return a single WizardProperty object.
Example
Note
Depending on the language version of Publisher that you are using, you may receive an error when using this code. If this occurs, you will need to build in error handlers to circumvent the errors. For more information, see the Wizard object.
The following example reports on the publication design associated with the active publication, displaying its name and current settings.
Dim wizTemp As Wizard
Dim wizproTemp As WizardProperty
Dim wizproAll As WizardProperties
Set wizTemp = ActiveDocument.Wizard
With wizTemp
Set wizproAll = .Properties
Debug.Print "Publication Design associated with " _
& "current publication: " _
& .Name
For Each wizproTemp In wizproAll
With wizproTemp
Debug.Print " Wizard property: " _
& .Name & " = " & .CurrentValueId
End With
Next wizproTemp
End With
Properties
See also
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for