Default300
Board Regular
- Joined
- Jul 13, 2009
- Messages
- 83
I am using the Immediate Window to Read values of Properties.
eg:
Some Property Values are Built-In Constants...
(eg XlCmdType)
PROBLEM:
The problem is that in the immediate window, they are returned in the Numeric / Index Form...
(eg: 0, 1, 2, 3 etc)
QUESTION:
How can I get it to return the Text / String Form?
(eg: xlCmdCube, xlCmdDefault, xlCmdSql, xlCmdTable)
TIA
eg:
Code:
[FONT=Courier New]Debug.Print "[/FONT][FONT=Courier New]CommandType[/FONT][FONT=Courier New]: " & ActiveSheet.QueryTable(1).[/FONT][FONT=Courier New]CommandType[/FONT]
(eg XlCmdType)
PROBLEM:
The problem is that in the immediate window, they are returned in the Numeric / Index Form...
(eg: 0, 1, 2, 3 etc)
QUESTION:
How can I get it to return the Text / String Form?
(eg: xlCmdCube, xlCmdDefault, xlCmdSql, xlCmdTable)
TIA