|Outlook Developer Reference|
expression A variable that represents an Application object.
|Item||Required||Object||The item being sent.|
|Cancel||Required||Boolean||False when the event occurs. If the event procedure sets this argument to True, the send action is not completed and the inspector is left open.|
This event is not available in Microsoft Visual Basic Scripting Edition (VBScript).
The following Microsoft Visual Basic/Visual Basic for Applications (VBA) example shows how to cancel the ItemSend
event in response to user input. The sample code must be placed in a class module, and the
Initialize_handler routine must be called before the event procedure can be called by Microsoft Outlook.
|Visual Basic for Applications|