Share via


Hyperlink.AddToFavorites Method

Adds a shortcut to the workbook or 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 Hyperlink

instance.AddToFavorites()
void AddToFavorites()

See Also

Reference

Hyperlink Interface

Hyperlink Members

Microsoft.Office.Interop.Excel Namespace