Share via


DefaultWebOptions.UpdateLinksOnSave Property

True if hyperlinks and paths to all supporting files are automatically updated before you save the document as a Web page, ensuring that the links are up-to-date at the time the document is saved. False if the links are not updated. The default value is True.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property UpdateLinksOnSave As Boolean
    Get
    Set
'Usage
Dim instance As DefaultWebOptions
Dim value As Boolean

value = instance.UpdateLinksOnSave

instance.UpdateLinksOnSave = value
bool UpdateLinksOnSave { get; set; }

Property Value

Type: System.Boolean

Remarks

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.

See Also

Reference

DefaultWebOptions Interface

DefaultWebOptions Members

Microsoft.Office.Interop.Excel Namespace