Share via


DefaultWebOptions.UpdateLinksOnSave Property

PowerPoint Developer Reference

Determines whether hyperlinks and paths to all supporting files are automatically updated before you save or publish the presentation as a Web page. Read/write.

Syntax

expression.UpdateLinksOnSave

expression   A variable that represents an DefaultWebOptions object.

Return Value
MsoTriState

Remarks

You should set this property to False if the location where the presentation is saved is different from the final location on the Web server and the supporting files are not available at the first location.

The value of the UpdateLinksOnSave property can be one of these MsoTriState constants.

Constant Description
msoFalse Hyperlinks and paths to all supporting files are not automatically updated before you save or publish the presentation as a Web page.
msoTrue The default. Hyperlinks and paths to all supporting files are automatically updated before you save or publish the presentation as a Web page, ensuring that the links are up-to-date at the time the presentation is saved.

Example

This example specifies that links are not updated before the presentation is saved.

Visual Basic for Applications
  Application.DefaultWebOptions.UpdateLinksOnSave = msoFalse

See Also