AddToFavorites Method

         Example         Applies To

Creates a shortcut to the document or hyperlink and adds it to the Favorites folder.

Syntax

expression.AddToFavorites

expression   Required. An expression that returns a Document or Hyperlink object.