title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Presentation.AddToFavorites method (PowerPoint) |
vbapp10.chm583031 |
|
|
5bdef3c1-fef2-a90b-d2be-f244e3ff1a64 |
06/08/2017 |
medium |
Adds a shortcut that represents the current selection in the specified presentation to the Windows Favorites folder.
expression.AddToFavorites
expression A variable that represents a Presentation object.
The shortcut name is the display name of the document, if that's available; otherwise, the shortcut name is as calculated in HLINK.DLL.
This example adds a hyperlink to the active presentation to the Favorites folder in the Windows program folder.
Application.ActivePresentation.AddToFavorites
[!includeSupport and feedback]