The reason is that in order to fully understand the behavior of the Variant, it is essential that you understand that the Variant is merely a ‘container’ for several different data types. Each of the Visual Basic data types that shall be listed later in a post - can be stored inside of the Variant as a subtype. A Variant’s subtype changes automatically depending on what kind of value is stored in it or you can manually set the subtype with one of the VBScript conversion feature. This becomes especially important when your VBScript programs need to interact with COM components that my have been written in VB or another COM-enabled language, such as C++ or Delphi.
First
Next