Connections.AddFromFile(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a connection from the specified file.
public:
Microsoft::Office::Interop::Excel::WorkbookConnection ^ AddFromFile(System::String ^ Filename);
public Microsoft.Office.Interop.Excel.WorkbookConnection AddFromFile (string Filename);
Public Function AddFromFile (Filename As String) As WorkbookConnection
Parameters
- Filename
- String
Name of the file.