Partager via


_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()

See Also

Reference

_Workbook Interface

_Workbook Members

Microsoft.Office.Interop.Excel Namespace