Re: Help with IIF Condition
Quote:
Originally posted by Nigorr
[B] If Cool < 65 And Not Cool > 90 Then 'This is where I need help please
If you look at your logic there, it doesn't quite make sense. Read it out loud
If cool is LESS THAN 65 AND Cool is NOT GREATER THAN 90 then blah blah blah...
I would imagine what you originhally wanted was
VB Code:
if cool >65 and cool <=90 then blah blah blah
In other words if cool is GREATER than 65 AND cool is LESS THAN OR EQUAL TO 95 then blah blah blah
Hope this helps with your original logic.
Pigmy
:cool: