View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
TommySzalapski[_17_] TommySzalapski[_17_] is offline
external usenet poster
 
Posts: 1
Default When does TRUE evaluate to minus 1?


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