PickerDialog.Properties Property (Office)
Returns the PickerProperties object to specify custom properties for data handler component. Read-only
Version Information
Version Added: Office 2010
Syntax
expression .Properties
expression An expression that returns a PickerDialog object.
Remarks
The properties of the PickerProperties object will be passed to the data handler.
Example
The following code sets various Picker Dialog properties and retrieves the results.
Dim objPickerDialog As PickerDialog
Dim objPickerProperties As PickerProperties
Set objPickerDialog = Application.PickerDialog
objPickerDialog.DataHandlerId = "{000CDF0A-0000-0000-C000-000000000046}"
objPickerDialog.Title = "Sample Picker Dialog"
Set objPickerProperties = objPickerDialog.Properties
Set objPickerProperty = objPickerProperties.Add("SiteUrl", "http://my", msoPickerFieldtypeText)
' Show the Picker Dialog with no existing result.
Set objPickerResults = objPickerDialog.Show(True)