Even and Odd

  • Thread starter Thread starter Guest
  • Start date Start date
If you have Analysis Toolpak loaded and set a reference to it in VBA, then
ISODD() and ISEVEN() are available
 
You could 'roll your own'

Function test(num) As Boolean
test = (num Mod 2 = 0)
End Function
 
Could you explain a little more on how to call these functions and an exampl
of code for them. How t oset a reference? Thanks in advance.
 
Back
Top