Partager via


DefaultWebOptions.UpdateLinksOnSave Property (Word)

True if hyperlinks and paths to all supporting files are automatically updated before you save the document as a Web page. Read/write Boolean.

Syntax

expression .UpdateLinksOnSave

expression An expression that returns a DefaultWebOptions object.

Remarks

The UpdateLinksOnSave property ensures that the links are up-to-date at the time the document is saved. The default value for the UpdateLinksOnSave property is True.

A value of False indicates that the links are not updated. You should set this property to False if the location where the document is saved is different from the final location on the Web server and the supporting files are not available at the first location.

Example

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

Application.DefaultWebOptions.UpdateLinksOnSave = False

See Also

Concepts

DefaultWebOptions Object

DefaultWebOptions Object Members