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

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.

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