Connections.AddFromFile Method
Adds a connection from the specified file.
Version Information
Version Added: Excel
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