Returns the expression converted to a variant data type (Variant).
|expression||The expression to evaluate and convert to a variant.|
|* The "expression" can be the same range as a double for numeric expression.|
* The "expression" can be the same range as a string for non-numeric expressions.
Dim iValue As Integer
Dim vString As Variant
iValue = 25
vString = CVar(iValue & " hello")
vString = "25 hello"
© 2020 Better Solutions Limited. All Rights Reserved. © 2020 Better Solutions Limited Top