Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Create Function to display name of variable
Hi All,
I want to create a small function (for example called printvar) that when it is called it prints the name of the variable that was passed to it in a message box. There may well be an obvious way of doing this but I don't know it. E.g. Sub Test MyText = "Hello" MsgBox PrintVar(MyText) End Sub The Result would then by "MyText" in a messagebox. Any ideas? Ta Andi |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Create a Random Variable | Excel Discussion (Misc queries) | |||
create new variable | Excel Worksheet Functions | |||
how to create a three variable chart. | Charts and Charting in Excel | |||
How do I create a one variable data table? | Excel Discussion (Misc queries) | |||
Excel VBA - MsgBox to display variable value? | Excel Programming |