Public Function CanBeBoolean( _
ByVal vValue As Variant _
) As Boolean CanBeBoolean(34) = True
CanBeBoolean(#12:34:56#) = True
CanBeBoolean("1") = True
CanBeBoolean("1 word.") = False
CanBeBoolean("A word.") = False
CanBeBoolean(Nothing) = False
CanBeBoolean(Null) = FalseSee also: CBoolIgnErr Function
CanBeByte Function
CanBeInteger Function
CanBeLong FunctionvValue: The argument which is checked to see if it can be converted to a Boolean value. Function returns True if vValue contains a numeric value, a date, or a numeric string value. Function returns False if vValue is Null, an error, or an object pointer. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.