Share via


Workbook.AddToFavorites Method (Excel)

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

Syntax

.AddToFavorites

A variable that represents a Workbook object.

Example

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

ActiveWorkbook.AddToFavorites

참고 항목

개념

Workbook Object

Workbook Object Members