Name Of An Enumeration Value
May 31, 2007I am using EXCEL/VBA.
Suppose x is an enumeration variable that has been assigned a value equal to a
member name in the enumeration. Is there a function that maps the value of the
enumeration to the string equivalent of the member name?
i.e: if x = TEST_CASE_VALUE_1, I would hope there is a function f already
avaiable such that f(x) returns the string "TEST_CASE_VALUE_1"