Application.AddToFavorites method (Access)

The AddToFavorites method adds a hyperlink address to the Favorites folder.

Syntax

expression.AddToFavorites

expression A variable that represents an Application object.

Remarks

When applied to the Application object, the AddToFavorites method adds the name of the current database to the Favorites folder. For example, if you are working in the Northwind sample database, applying the AddToFavorites method to the Application object adds the hyperlink address of the Northwind database to the Favorites folder.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.