![]() |
#1
|
|||
|
|||
![]()
Hello,
I have a variable that can be about twenty values. For each different value, I would want to call a different sub or function. I don't want to have to have a ton of If or case statements. Is it possible to do something like dim VariableName as string (other code figures out what VariableName is) then the function Call VariableName ? I have tried brackets, putting .value after variable name, quotes, and other tactics. I always am told that the sub or function is not defined. The sub or function VariableName would always exist, but I couldn't call it that way. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
MJP143 | Excel | 1 | 02-11-2013 05:07 AM |
![]() |
tinfanide | Excel Programming | 2 | 06-10-2012 10:17 AM |
excel where is procedure being called from | davids67 | Excel Programming | 1 | 11-18-2011 06:48 AM |
![]() |
Franky | Word | 3 | 11-12-2011 08:16 AM |
What is this right-click sub-menu called? | wornways | Word | 3 | 08-13-2010 09:17 PM |