The enumeration vbVarType includes a list of constants such as vbInteger, vbLong, vbSingle, vbDouble, vbArray with values 2, 3, 4, 5, and 8192 respectively. I want to iterate through the enumeration as have both the names of the constant and the value of the constant.
I found an example that I thought might work that uses the code:
Dim items as array
items = System.Enum.GetValues(GetType(FirstDayOfWeek))
However, this doesn't work for me. Is there another way to do this?