Panes Object

Microsoft Outlook Visual Basic

Panes Object

         
Explorer Panes
NameSpace

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

Using the Panes 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 and later, the Outlook Bar is the only pane that you can access through the Panes object.