Connections.AddFromFile Method (Excel)
Adds a connection from the specified file.
Version Information
Version Added: Excel 2007
Syntax
expression .AddFromFile(Filename)
expression A variable that represents a Connections object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Filename |
Required |
String |
Name of the file. |
Return Value
WorkbookConnection