This documentation is archived and is not being maintained.

OutlookBarShortcut Object

Office 2007
Represents a shortcut in a group in the Shortcuts pane.


Use the Item method to retrieve the OutlookBarShortcut object from an OutlookBarShortcuts object. Because the Name property is the default property of the OutlookBarShortcut object, you can identify the shortcut by name.


The following example retrieves an OutlookBarShortcut object by name.

Visual Basic for Applications
Set myOlBarShortcut = myOutlookBarShortcuts.Item("Calendar")