VB Code:
  1. Private Function IsEven(lNum As Long) As Boolean
  2.     IsEven = Not CBool(lNum& And 1)
  3. End Function
Useful little function in case anyone was wondering on how to determine if a number is even or odd. I must be bored...