IConnections.AddFromFile Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function AddFromFile ( _
Filename As String _
) As WorkbookConnection
'Usage
Dim instance As IConnections
Dim Filename As String
Dim returnValue As WorkbookConnection
returnValue = instance.AddFromFile(Filename)
WorkbookConnection AddFromFile(
string Filename
)
Parameters
- Filename
Type: System.String
Return Value
Type: Microsoft.Office.Interop.Excel.WorkbookConnection