Share via


OutlookBarShortcut Object (Outlook)

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.

Set myOlBarShortcut = myOutlookBarShortcuts.Item("Calendar")

See Also

Concepts

Outlook Object Model Reference

OutlookBarShortcut Object Members