Public Function CBoolIgnErr( _
ByVal vValue As Variant _
) As Boolean CBoolIgnErr(34) = True
CBoolIgnErr(0) = False
CBoolIgnErr("1") = True
CBoolIgnErr("0") = False
CBoolIgnErr("Word") = FalseSee also: CanBeBoolean Function
CBool Function (Visual Basic)vValue: The value which will be converted to a Boolean and returned (if conversion is possible). Conversion is not possible if vValue is Null, an Error, an Object, or a non-numeric String. All non-zero numeric values are converted to True and numeric values of 0 (zero) are converted to False. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.