This documentation is archived and is not being maintained.

XlCmdType Enumeration 

Specifies the value of the CommandText property.

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

Dim xlCmdType1 As XlCmdType = XlCmdType.xlCmdCube

public enum XlCmdType
public enum XlCmdType
public enum XlCmdType

Member nameDescription
xlCmdCubeContains a cube name for an OLAP data source.
xlCmdDefaultContains command text that the OLE DB provider understands
xlCmdListContains a pointer to list data.
xlCmdSqlContains an SQL statement.
xlCmdTableContains a table name for accessing OLE DB data sources.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms