Convert the bool to and integer
CInt(True) = -1
CInt(5=5) = -1
CInt(5=4) =
--
TommySzalapsk
-----------------------------------------------------------------------
TommySzalapski's Profile:
http://www.excelforum.com/member.php...fo&userid=2556
View this thread:
http://www.excelforum.com/showthread.php?threadid=39060