CVAR(expression)

Returns the expression converted to a variant data type (Variant).


expressionThe expression to evaluate and convert to a variant.

REMARKS
* 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"

© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited Top