Table of contents
TOC
Collapse the table of content
Expand the table of content

WizardProperties Object (Publisher)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Represents the settings available in a publication design or in a Design Gallery object's wizard.

Example

Use the Properties property with a Wizard object to return a WizardProperties collection. 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 
 MsgBox "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

Note Depending on the language version of Microsoft Publisher that you are using, you may receive an error when using the above code. If this occurs, you will need to build in error handlers to circumvent the errors. For more information, see Wizard Object.

Methods

Name
FindPropertyById

Properties

Name
Application
Count
Item
Parent
© 2017 Microsoft