Share via


SharingItem.BeforeCheckNames Event (Outlook)

Occurs just before Microsoft Outlook starts resolving names in the recipient collection for an item (which is an instance of the parent object).

Version Information

Version Added: Outlook 2007

Syntax

expression .BeforeCheckNames(Cancel)

expression An expression that returns a SharingItem object.

Parameters

Name

Required/Optional

Data Type

Description

Cancel

Required

Boolean

False when the event occurs. If the event procedure sets this argument to True, the name resolution process is not completed.

Remarks

You use the BeforeCheckNames event in VBScript, but the event does not fire when an e-mail name is resolved on the form.

The event does not fire under the following circumstances:

  • You customized a Journal Entry form and then resolved a contact in the Contacts field.

  • You customized a Contact form and then resolved a contact in the Contacts field.

  • You customized any type of form and Outlook automatically resolved the name in the background.

  • You programmatically created and resolved a recipient.

See Also

Concepts

SharingItem Object

SharingItem Object Members