OLEDBConnection.CommandType Property (Excel)
Returns or sets one of the XlCmdType constants. Read/write XlCmdType.
Version Information
Version Added: Excel 2007
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.