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

WizardProperties.FindPropertyById Method (Publisher)

office 365 dev account|Last Updated: 8/24/2017
3 Contributors

Returns a WizardProperty object, based on the specified ID, from the collection of wizard properties associated with a publication design or a Design Gallery object's wizard.


expression. FindPropertyById( ID)

_expression_A variable that represents a WizardProperties object.


NameRequired/OptionalData TypeDescription
IDRequiredLongThe ID of the the wizard property to return; corresponds to the ID property of the WizardProperty object.

Return Value



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 (Customer Address).

Sub SetWizardProperties 
 Dim wizTemp As Wizard 
 Dim wizproTemp As WizardProperty 

 Set wizTemp = ActiveDocument.Wizard 

 With wizTemp.Properties 
 Set wizproTemp = .FindPropertyById(ID:=901) 
 wizproTemp.CurrentValueId = 1 
 End With 

End Sub
© 2018 Microsoft