Public Function CByteIgnErr( _
ByVal vValue As Variant _
) As Byte CByteIgnErr(34) = 34
CByteIgnErr(0) = 0
CByteIgnErr(-34) = 0
CByteIgnErr(34.3) = 34
CByteIgnErr("1") = 1
CByteIgnErr("0") = 0
CByteIgnErr("Word") = 0See also: CanBeByte Function
CIntIgnErr Function
CByte Function (Visual Basic)vValue: The value which will be converted to a Byte and returned (if conversion is possible). Conversion is not possible if vValue is Null, an Error, an Object, a non-numeric String, or a numeric value out of the range allowed for this data type. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.