Public Function basIsOdd(Optional varIn As Variant) As Boolean
'Return True if the input value is an Odd Number, _
Else Return False
'Eliminate the obvious casual first
If (IsNull(varIn)) Then
Exit Function
End If
If (IsNumeric(varIn)) Then
If ((CLng(varIn) Mod 2) <> 0) Then
basIsOdd = True
End If
End If
End Function