Downside of the Variant

The flexibility comes at a price, however. One downside of the Variant is that takes up more memory than many of the specific Visual Basic data types. For this reason, Visual Basic developers will normally only choose to declare a variable as a Variant when they specifically what that variable to be able to handle more than one data type. After all, why take up more memory than you have to?

First
Next