TaskItem.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).
Syntax
expression. BeforeCheckNames
( _Cancel_
)
expression A variable that represents a TaskItem 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 email 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
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.