XlCmdType enumeration

Specifies the value of the CommandText property.

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

No code example is currently available or this language may not be supported.

Member nameDescription
xlCmdCubeContains a cube name for an OLAP data source.
xlCmdSqlContains an SQL statement.
xlCmdTableContains a table name for accessing OLE DB data sources.
xlCmdDefaultContains command text that the OLE DB provider understands.
xlCmdListContains a pointer to list data.
xlCmdTableCollectionContains the name of a table collection.
xlCmdExcelContains an Excel formula.
xlCmdDAXContains a Data Analysis Expressions (DAX) formula.
Show: