Rediger

Del via


SelectNamesDialog.NumberOfRecipientSelectors property (Outlook)

Returns or sets a OlRecipientSelectors constant that determines the number of recipient edit boxes (each associated with a command button) displayed in the Select Names dialog box. Read/write.

Syntax

expression. NumberOfRecipientSelectors

expression A variable that represents a SelectNamesDialog object.

Remarks

A recipient edit box allows you to enter recipient names. Each recipient edit box is associated with a command button in the Select Names dialog box; examples of a command button for a recipient edit box are the To and Cc command buttons. The default value of NumberOfRecipientSelectors is OlRecipientSelectors.olToCcBcc.

If you set NumberOfRecipientSelectors to OlRecipientSelectors.olShowTo and then subsequently set the text for SelectNamesDialog.CcLabel or SelectNamesDialog.BccLabel, the NumberOfRecipientSelectors will remain unchanged.

If you set NumberOfRecipientSelectors to OlRecipientSelectors.olShowNone, then the SelectNamesDialog.AllowMultipleSelection property will be ignored.

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.