SelectNamesDialog.Caption property (Outlook)

Returns or sets a String value that represents the title for the Select Names dialog box. Read/write.

Syntax

expression.Caption

expression A variable that represents a SelectNamesDialog object.

Remarks

If you don't set Caption, the title of the dialog box will be Select Names or the localized equivalent. If you set Caption to an empty string, the dialog box caption will be an empty string.

Setting the Caption to a long string (for example, 300 characters) will cause the caption to be truncated, and will not cause the width of the Select Names dialog to change.

See also

SelectNamesDialog Object

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.