ODBCTimeout Property [Excel 2003 VBA Language Reference]

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

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

Applies to | Application Object