Muokkaa

Jaa


Application.ODBCTimeout property (Excel)

Returns or sets the ODBC query time limit, in seconds. The default value is 45 seconds. Read/write Long.

Syntax

expression.ODBCTimeout

expression A variable that represents an Application object.

Remarks

The value 0 (zero) indicates an indefinite time limit.

Example

This example sets the ODBC query time limit to 15 seconds.

Application.ODBCTimeout = 15

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.