DisplaySelectNamesDialog Method

Microsoft Word Visual Basic

Displays the Select Names dialog box, in which the user can add addresses to the To:, Cc:, and Bcc: lines in the active, unsent e-mail message. This method is available only if you are using Word as your e-mail editor.

expression.DisplaySelectNamesDialog

expression    Required. An expression that returns a MailMessage object.

Example

This example displays the Select Names dialog box for the active e-mail message.

Application.MailMessage.DisplaySelectNamesDialog