Add Method (Explorers Collection)

Add Method (Explorers Collection)

See Also         Example         Applies To        

Creates a new explorer window and returns the resulting Explorer object.

Syntax

object.Add(Folder[, DisplayMode])

object   Required. An expression that returns an Explorers collection object.

Folder   Required. The MAPIFolder object to display in the explorer window when it is created.

DisplayMode   Optional Long. The display mode of the folder. Can be one of the following OlFolderDisplayMode constants: olFolderDisplayFolderOnly(1), olFolderDisplayNoNavigation(2) or olFolderDisplayNormal(0). The default value is olFolderDisplayNormal(0).

Remarks

The explorer window is initially hidden. You must call the Display of the Explorer object to make it visible.