_Application.ODBCErrors Property

Returns an ODBCErrors collection that contains all the ODBC errors generated by the most recent query table or PivotTable report operation.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property ODBCErrors As ODBCErrors
    Get
'Usage
Dim instance As _Application
Dim value As ODBCErrors

value = instance.ODBCErrors
ODBCErrors ODBCErrors { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.ODBCErrors

Remarks

If there’s more than one query running at the same time, the ODBCErrors collection contains the ODBC errors from the query that’s finished last.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace