Panes Object

Microsoft Outlook Visual Basic

Show All Show All

Panes Object

Explorer Panes

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 Shortcuts pane, use the following:

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

		

For Microsoft Outlook 2000 and later, the Shortcuts pane is the only pane that you can access through the Panes object.