GetExplorer Method
Applies To
MAPIFolder object.
Description
Returns an Explorer object that represents a new, inactive explorer initialized with the specified folder as the current folder. This method is useful for returning a new Explorer object in which to display the folder, as opposed to using the ActiveExplorer method and setting the CurrentFolder property.
By default, the new explorer will be displayed in the Normal mode with all interface elements displayed: a message panel on the right, an Outlook bar on the left, and a folder banner across the top from which the user can pull down a folder navigation panel. The explorer can also be displayed in Folder Only mode with only the message panel and folder banner and No Navigation mode with only the message panel.
Syntax
expression.GetExplorer(DisplayMode)
expression An expression that returns a MAPIFolder object.
DisplayMode Optional Long. The display mode of the folder. Can be one of the following OlFolderDisplayMode constants: olFolderDisplayFolderOnly, olFolderDisplayNoNavigation or olFolderDisplayNormal. The default value is olFolderDisplayNormal.
See Also
ActiveExplorer method, GetInspector property.
Example
This example returns a new, inactive explorer for myFolder, and then displays it.
Set myExplorer = myFolder.GetExplorer
myExplorer.Display