OLEDBConnection.CommandType Property
Returns or sets one of the XlCmdType constants. Read/write XlCmdType.
Version Information
Version Added: Excel
Syntax
expression.CommandType
expression A variable that represents an OLEDBConnection object.
Remarks
The constant that is returned or set describes the value of the CommandText property. The default value is xlCmdSQL.