VBA Conversion Module

Function Description
CBool Converts an expression to a Boolean.
CByte Converts an expression to a Byte.
CCur Converts an expression to a Currency.
CDate Converts an expression to a Date.
CDbl Converts an expression to a Double.
CDec Converts an expression to a Variant/Decimal.
CInt Converts an expression to a Integer.
CLng Converts an expression to a Long.
CLngLng Converts an expression to a LongLong.
CLngPtr Converts an expression to a LongPtr.
CSng Converts an expression to a Single.
CStr Converts an expression to a String.
CVar Converts an expression to a Variant.
CVDate Converts an expression to a Variant/Date. *Exists for backward compatibility.
CVErr Returns a Variant/Error corresponding to a given error number.
Error Returns the error message associated with a given error number as a Variant/String.
Error$ Returns the error message associated with a given error number as a String
Fix Returns the integer part of a number. If the number is negative, the first negative integer greater than or equal to the number is returned (rounds toward 0).
Hex Returns the hexadecimal representation of a number as a Variant/String.
Hex$ Returns the hexadecimal representation of a number as a String.
Int Returns the integer part of a number. If the number is negative, the first negative integer less than or equal to number is returned (rounds away from 0).
Oct Returns the octal representation of a number as a Variant/String.
Oct$ Returns the octal representation of a number as a String.
Str Returns the string representation of a number as a Variant/String.
Str$ Returns the string representation of a number as a String.
Val Returns the numeric values within a string.