Connections Interface

A collection of Connection objects for the specified workbook.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

[InterfaceTypeAttribute()]
[GuidAttribute("00024486-0000-0000-C000-000000000046")]
public interface Connections : IEnumerable

The following example shows how to add a connection to a workbook from an existing file.

Community Additions

ADD
Show:
© 2014 Microsoft