Cint(True) returns negative one cause all the bits are set to 1 including the highest bit (which determines +/-).
So use...
Debug.Print (CInt(yourbool) AND 1)
|
Results 1 to 5 of 5
Threaded View
|
Click Here to Expand Forum to Full Width |