Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ActiveExplorer method

_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)

'Declaration
<DispIdAttribute()> _
Function ActiveExplorer As Explorer
'Usage
Dim instance As _Application
Dim returnValue As Explorer

returnValue = instance.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.

Show:
© 2015 Microsoft