CVar

Function that converts an expression into a Variant.

Syntax
      CVar (expression)
 

Examples

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.


 
Copyright © 1999-2024 SS64.com
Some rights reserved