This documentation is archived and is not being maintained.

OutlookBarShortcut Object (Outlook)

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.

Set myOlBarShortcut = myOutlookBarShortcuts.Item("Calendar")
Show: