Public Function CanBeCurrency( _ ByVal vValue As Variant _ ) As Boolean
CanBeCurrency(34) = True CanBeCurrency(1234.56) = True CanBeCurrency(#12/31/95#) = True CanBeCurrency("1") = True CanBeCurrency("A word.") = FalseSee also:
CCurIgnErr Function CanBeDecimal Function CanBeDouble Function CanBeSingle FunctionvValue: The argument which is checked to see if it can be converted to a Currency value. Function returns True if vValue contains a numeric value, a date, or a numeric string value which is within the range of values supported by the Currency data type. Function returns False otherwise, such as if vValue is out-of-range, Null, an error, or an object pointer.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.