共用方式為


Hyperlink.AddToFavorites Method (Excel)

Adds a shortcut to the workbook or hyperlink to the Favorites folder.

Syntax

expression .AddToFavorites

expression A variable that represents a Hyperlink object.

Example

This example adds a shortcut to the active workbook to the Favorites folder.

ActiveWorkbook.AddToFavorites

請參閱

概念

Hyperlink Object Members

Hyperlink Object