AddToFavorites Method
Applies To
Hyperlink object, Workbook object.
Description
Adds a shortcut to the workbook or hyperlink to the Favorites folder.
Syntax
expression.AddToFavorites
expression Required. An expression that returns a Workbook or Hyperlink object.
Example
This example adds a shortcut to the active workbook to the Favorites folder.
ActiveWorkbook.AddToFavorites