Workbook.OpenLinks Method
Opens the supporting documents for a link or links.
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 OpenLinks ( _
Name As String, _
ReadOnly As Object, _
Type As Object _
)
void OpenLinks(
string Name,
Object ReadOnly,
Object Type
)
Parameters
Name
Type: System.StringThe name of the Microsoft Office Excel or DDE/OLE link, as returned from the LinkSources method.
ReadOnly
Type: System.Objecttrue to open documents as read-only. The default value is false.
Type
Type: System.ObjectOne of the XlLink values. The link type.
Remarks
Optional Parameters
For information on optional parameters, see Optional Parameters in Office Solutions.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.