Variant Vartype Uint

1: How to detect if variant is of type Uint, seems to be missing.
2: Why is the result from vartype integer and not enum ?

  1. Seems like it’s missing. My test code shows it gets type of Int64:

dim u as UInteger = 123 dim v as Variant = u MsgBox str(v.Type) + " "+ str(v.TypeInt64)

  1. There were no enums when variant was created.


Thanks Christian!
Is there a way around this using the Auto type or introspection of some sort?

you can use auto instead of course.