Share via


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