_Workbook.AddToFavorites Method
Adds a shortcut to the workbook or a hyperlink to the Favorites folder.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub AddToFavorites
'Usage
Dim instance As _Workbook
instance.AddToFavorites()
void AddToFavorites()