OutlookBarShortcut Object

Outlook Developer Reference

Represents a shortcut in a group in the Shortcuts pane.

Remarks

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.

Example

The following example retrieves an OutlookBarShortcut object by name.

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

See Also