CVar Function Example

This example uses the CVar function to convert an expression to a Variant.

Dim MyInt, MyVar
MyInt = 4534    ' MyInt is an Integer.
MyVar = CVar(MyInt & "000")    ' MyVar contains the string 
        ' 4534000.