VarType
Public Function VarType(ByVal Expression As Variant) As Long
Returns the type of the specified expression as Long. Returns one of:
- vbEmpty (0)
- vbNull (1)
- vbLong (3)
- vbLongLong (20)
- vbDouble (5)
- vbDecimal (6)
- vbDate (7)
- vbString (8)
- vbObject (9)
- vbBoolean (11)
- vbArray (8192 + sub-VarTpe)
See also: