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)
Syntax
'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("00024486-0000-0000-C000-000000000046")> _
Public Interface Connections _
Inherits IEnumerable
'Usage
Dim instance As Connections
[InterfaceTypeAttribute()]
[GuidAttribute("00024486-0000-0000-C000-000000000046")]
public interface Connections : IEnumerable
Examples
The following example shows how to add a connection to a workbook from an existing file.