Inspectors.NewInspector Event
Outlook Developer Reference |
Occurs whenever a new inspector window is opened, either as a result of user action or through program code.
Syntax
expression.NewInspector(Inspector)
expression A variable that represents an Inspectors object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Inspector | Required | [_INSPECTOR] | The inspector that was opened. |
Remarks
This event is not available in Microsoft Visual Basic Scripting Edition (VBScript).
The event occurs after the new Inspector object is created but before the inspector window appears.
Example
This Microsoft Visual Basic/Visual Basic for Applications (VBA) example displays the Standard and Formatting toolbars of an inspector when it is opened. 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 |
---|
|
See Also