ActiveInspector Method
Applies To
Application object.
Description
Returns the topmost Inspector object on the desktop. If no inspector is active, returns Nothing. Use this method to access the Inspector object the user is most likely viewing.
Syntax
expression.ActiveInspector
expression An expression that returns an Application object.
See Also
ActiveExplorer method, GetInspector property.
Example
This example demonstrates how to obtain the currently active Inspector object and display the name of the item that the inspector is displaying.
Set myInspector = myOlApp.ActiveInspector
MsgBox "The active item is " & myInspector.CurrentItem.Subject