OutlookBarShortcut.Target Property
Outlook Developer Reference |
Returns a Variant indicating the target of the specified shortcut in a Shortcuts pane group. Read-only.
Syntax
expression.Target
expression A variable that represents an OutlookBarShortcut object.
Remarks
The return type depends on the shortcut type. If the shortcut represents an Outlook folder, the return type is Folder. If the shortcut represents a file-system folder, the return type is an Object. If the shortcut represents a file-system path or URL, the return type is a String.
Example
This Microsoft Visual Basic/Visual Basic for Applications (VBA) example steps through the shortcuts in the first Shortcuts pane group. It counts the number of shortcuts that are Outlook folders and displays the count.
Visual Basic for Applications |
---|
|
See Also