Nitesh Khot
Member
Hi.,..Unable to get solution for how to check no is odd or even using below code...
Code:
Function checkoddeven(x As Range) As Boolean
chekoddeven = ""
If Iseven(x) = True Then
checkoddeven = "Even No"
ElseIf IsOdd(x) = True Then
checkoddeven = "Odd No"
Else
checkoddeven = "Check No Correct"
End If
End Function