Share via


Workbook.ChangeLink Method

Changes a link from one document to another.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Sub ChangeLink ( _
    Name As String, _
    NewName As String, _
    Type As XlLinkType _
)
void ChangeLink(
    string Name,
    string NewName,
    XlLinkType Type
)

Parameters

  • Name
    Type: System.String

    The name of the Microsoft Office Excel or DDE/OLE link to be changed, as it was returned from the LinkSources method.

  • Type
    Type: XlLinkType

    One of the XlLinkType values that specifies the link type.

Remarks

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

.NET Framework Security

See Also

Reference

Workbook Interface

Microsoft.Office.Tools.Excel Namespace