You know how you can create an enumeration like
and use it in code likeCode:Enum MyEnum Choice1 Choice2 End Enum
Then when you call the method from the outside, right after you type the open parenthesis, it drops down the list of choices.Code:Sub MyMethod(myChoice As MyEnum) End Sub
Is there any way to do that without the enumeration, but based on an array or collection of known values?
I want to use this in a class, so it could be in a method or a Property Let statement.
Thanks...