Thread
:
How to evaluate VB constant name in string variable?
View Single Post
#
2
Posted to microsoft.public.excel.programming
Nigel[_3_]
external usenet poster
Posts: 31
How to evaluate VB constant name in string variable?
Try
i = VAL(sMyString)
--
Regards,
Nigel
"G Lykos" wrote in message
...
Greetings!
Example: the value of vbOkay within the VBE is 6. {i = vbOkay} yields i
= 6.
Would like a construct where {sMyString = "vbOkay" : i =
UnknownFunction(sMyString)} yields i = 6
TIA!
George
Reply With Quote
Nigel[_3_]
View Public Profile
Find all posts by Nigel[_3_]