Workbook.Connections property (Excel)
Returns a Connections object that is a container for connections between the workbook and data sources such as ODBC, OLEDB, etc., that can refresh the data without prompting the user. Read-only.
expression A variable that represents a Workbook object.
The following example refreshes the OBDC and OLEDB connections of the active workbook.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.