Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
getting a variable's name
Hello
I'm tired of writing debug code like: debug.print "myValue = " & myValue Is it possible to write a function to get a variable name and display it with its value as above? Thanks Phil |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
getting a variable's name
You can use the watch window in the VBE and step through the code.
You can put in a breakpoint. See Excel VBA help for details. -- Regards, Tom Ogilvy "Philipp" wrote in message ... Hello I'm tired of writing debug code like: debug.print "myValue = " & myValue Is it possible to write a function to get a variable name and display it with its value as above? Thanks Phil |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to calcuate 6 variable's contribution towards a fixed sum??? | Excel Discussion (Misc queries) | |||
How to populate Label1.Caption with a variable's value | Excel Discussion (Misc queries) | |||
Return the Row of a Variable's location | Excel Discussion (Misc queries) |