DefaultWebOptions.UpdateLinksOnSave property (Word)
True if hyperlinks and paths to all supporting files are automatically updated before you save the document as a webpage. 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
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for