WizardProperty.CurrentValueId property (Publisher)

Returns or sets a Long indicating the value of a setting in the specified publication design or Design Gallery object's wizard. Read/write.

Syntax

expression.CurrentValueId

expression A variable that represents a WizardProperty object.

Return value

Long

Remarks

Accessing this property for a publication design setting whose Enabled property is False causes an error.

Example

The following example changes the settings of the current publication design (Newsletter Wizard) so that the publication has a region dedicated to the customer's address.

Dim wizTemp As Wizard 
Dim wizproAll As WizardProperties 
 
Set wizTemp = ActiveDocument.Wizard 
 
With wizTemp.Properties 
 .FindPropertyById(ID:=901).CurrentValueId = 1 
End With

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.