Hi There
How do I display an enum as it's string value ? For example, say I have decalred an enum as follows:
Enum gE_DivEstType
Gold = 1
Other = 2
End Enum
And I have a variable that is of type gE_DivEstType
What I want to do is display "Gold" instead of 1 and "Other" instead of 2
In C# I could just use .ToString() - however I cannot find the equivalent in VBA.
TIA
Orekin
How do I display an enum as it's string value ? For example, say I have decalred an enum as follows:
Enum gE_DivEstType
Gold = 1
Other = 2
End Enum
And I have a variable that is of type gE_DivEstType
What I want to do is display "Gold" instead of 1 and "Other" instead of 2
In C# I could just use .ToString() - however I cannot find the equivalent in VBA.
TIA
Orekin