h0l1yw0od
New Member
- Joined
- Oct 6, 2005
- Messages
- 21
Hi,
I've trying to use a simple bit of code but everytime i try to run it i get a Type Mismatch error.
I need it to look at the range and if there is a number in those cells then it throws up a messagebox. The message box part works fine, but this teeny bit of If Range... code just kicks up a stink every time.
What am i missing?
I've trying to use a simple bit of code but everytime i try to run it i get a Type Mismatch error.
Code:
If Range("B20:B31") < 0 Then
I need it to look at the range and if there is a number in those cells then it throws up a messagebox. The message box part works fine, but this teeny bit of If Range... code just kicks up a stink every time.
What am i missing?