Panes object (Outlook)

Contains the panes displayed by the specified Explorer.

Remarks

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

Use the Item method to retrieve a specific pane.

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

Example

The following Visual Basic for Applications (VBA) example retrieves the Panes object from an Explorer object.

Set myPanes = myExplorer.Panes

The following example retrieves the OutlookBarPane object representing the Shortcuts pane.

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

Methods

Name
Item

Properties

Name
Application
Class
Count
Parent
Session

See also

Outlook Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.