Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.62 KB

Office.PickerDialog.Properties.md

File metadata and controls

58 lines (36 loc) · 1.62 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
PickerDialog.Properties property (Office)
vbaof11.chm340003
vbaof11.chm340003
Office.PickerDialog.Properties
053b5d62-9d9a-68ed-c7ed-cf4df7053ecc
01/22/2019
medium

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

[!includeSupport and feedback]