This documentation is archived and is not being maintained.

_Application.ActiveExplorer Method

Returns the topmost Explorer object on the desktop.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Explorer ActiveExplorer()

Return Value

Type: Microsoft.Office.Interop.Outlook.Explorer
An Explorer that represents the topmost explorer on the desktop. Returns Nothing if no explorer is active.

Use this method to return the Explorer object that the user is most likely viewing. This method is also useful for determining when there is no active explorer, so a new one can be opened.