Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.39 KB

Publisher.WizardValues.md

File metadata and controls

57 lines (38 loc) · 1.39 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
WizardValues object (Publisher)
vbapb10.chm1703935
vbapb10.chm1703935
Publisher.WizardValues
559659bb-6c9f-9325-c931-14044c059e18
06/04/2019
medium

WizardValues object (Publisher)

Represents the complete set of valid values for a wizard property.

Remarks

Use the Values property of the WizardProperty object to return a WizardValues collection.

Example

The following example displays the current value for the first wizard property in the active publication and then lists all the other possible values.

Dim valAll As WizardValues 
Dim valLoop As WizardValue 
 
With ActiveDocument.Wizard 
 Set valAll = .Properties(1).Values 
 
 MsgBox "Wizard: " & .Name & vbLf & _ 
 "Property: " & .Properties(1).Name & vbLf & _ 
 "Current value: " & .Properties(1).CurrentValueId 
 
 For Each valLoop In valAll 
 MsgBox "Possible value: " & valLoop.ID & " (" & valLoop.Name & ")" 
 Next valLoop 
End With

Properties

See also

[!includeSupport and feedback]