AddToFavorites Method

         Example         Applies To

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.