A Variant is a special data type that can contain any kind of data except fixed-length String data. (Variant types now support user-defined types .) A Variant can also contain the special values Empty, Error, Nothing, and Null. You can determine how the data in a Variant is treated using the VarType function or TypeName function.