SelectNamesDialog.ToLabel property (Outlook)

Returns or sets a String for the text that appears on the To command button on the Select Names dialog box. Read/write.

Syntax

expression. ToLabel

expression A variable that represents a SelectNamesDialog object.

Remarks

To provide an accelerator key for the recipient edit boxes, include an ampersand (&) character in the label argument string, immediately before the character that serves as the access key. For example, if ToLabel is the string "Local & Attendees", users can press ALT+A to move the focus to the first recipient edit box.

If ToLabel is not set, the default value will be the localized string for "To". If the ToLabel is set to an empty string, the To command button shows ->. If the ToLabel property contains more than 32 characters (including the ampersand (&) access key), only the first 32 characters will be displayed in the command button.

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.