Function that converts an expression into a Variant.
Syntax CVar (expression)
Example
Dim varDemo as String
varDemo = CStr(1234)
The variable varDemo will now contain the variant value of 1234.
“People have a peculiar pleasure in making converts, that is, in causing others to enjoy what they enjoy, thus finding their own likeness represented and reflected back to them” ~ Johann Wolfgang von Goethe
Related:
CCur - Convert to currency (number)
CDate - Convert to Date
CLng - Convert to Long (number)
Nz - Detect a NULL value or Zero Length string.