Partager via


_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.Object

    Optional Object. The name of the Microsoft Excel or DDE/OLE link to be updated, as returned from the LinkSources method.

Remarks

When the UpdateLink method is called without any parameters, Excel defaults to updating all worksheet links.

See Also

Reference

_Workbook Interface

_Workbook Members

Microsoft.Office.Interop.Excel Namespace