The ToVariant function is a type conversion function. ToVariant converts the specified expression to a Variant value.
Syntax | ||||
ToVariant(Expr) | ||||
Return value | ||||
Type |
Description | |||
Variant |
Variant of Expr | |||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Required |
Expr |
Variant |
ByVal |
Expression to be converted to a Variant value |