OLEDBConnection.Reconnect method (Excel)

Drops and then reconnects the specified connection.

Syntax

expression.Reconnect

expression A variable that represents an OLEDBConnection object.

Example

The following code example causes the specified connection to reconnect.

ThisWorkbook.Connections(1).Reconnect

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.