Application.ActiveWindow Method
Office 2007
| Outlook Developer Reference |
Syntax
expression.ActiveWindow
expression A variable that represents an Application object.
Return Value
An Object that represents the topmost Microsoft Outlook window on the desktop. Returns Nothing if no Outlook explorer or inspector is open.
Example
This Microsoft Visual Basic/Visual Basic for Applications (VBA) example minimizes the topmost Outlook window if it is an inspector window.
| Visual Basic for Applications |
|---|
|