Another way
Code:
If Number mod 2 = 0 then 'number is even Else 'number is odd