ActiveWindow Method

See Also         Example         Applies To        

Returns an object representing the topmost Microsoft Outlook window on the desktop, either an Explorer or an Inspector object. If no Outlook explorer or inspector is open, returns Nothing.

Syntax

object.ActiveWindow

object   Required. An expression that returns an Application object.