PickerDialog.Properties property (Office)
Returns the PickerProperties object to specify custom properties for the data handler component. Read-only.
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 PickerDialog 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", "https://my", msoPickerFieldtypeText)
' Show the Picker Dialog with no existing result.
Set objPickerResults = objPickerDialog.Show(True)
See also
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.