Panes Collection Object

Panes Collection Object

See Also                  Properties         Methods        

Explorers collection (Explorer object)
Panes collection (Pane object)
OutlookBarPane object

The Panes collection object contains the panes displayed by the specified Explorer.

Using the Panes Collection Object

Use the Panes property to return the Panes collection object from an Explorer object.

Set myPanes = myExplorer.Panes

Use the Item method to retrieve a specific pane. To retrieve the OutlookBarPane object representing the Outlook Bar, use the following:

Set myOLBarPane = myExplorer.Panes.Item("OutlookBar")

For Microsoft Outlook 2000, the Outlook Bar is the only pane that you can access through the Panes collection object.