_Workbook.UpdateLink Method
Updates a Microsoft Excel, DDE, or OLE link (or links).
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub UpdateLink ( _
Name As Object, _
Type As Object _
)
'Usage
Dim instance As _Workbook
Dim Name As Object
Dim Type As Object
instance.UpdateLink(Name, Type)
void UpdateLink(
Object Name,
Object Type
)
Parameters
Name
Type: System.ObjectOptional Object. The name of the Microsoft Excel or DDE/OLE link to be updated, as returned from the LinkSources method.
Type
Type: System.ObjectOptional XlLinkType.
Remarks
When the UpdateLink method is called without any parameters, Excel defaults to updating all worksheet links.