MailMessage.DisplaySelectNamesDialog Method

Word Developer Reference

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.

Syntax

expression.DisplaySelectNamesDialog

expression   Required. A variable that represents a MailMessage object.

Remarks

This method is available only if you are using Word as your e-mail editor.

Example

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

Visual Basic for Applications
  Application.MailMessage.DisplaySelectNamesDialog

See Also