OLEDBConnection.CommandType property (Excel)
Returns or sets one of the XlCmdType constants. Read/write XlCmdType.
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.
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.