To code:
If ActiveCell 49999 And ActiveCell < 100000 Then
MsgBox "Yes"
Else
MsgBox "No"
End If
For a formula:
=IF(AND(A149999,A1<100000),"Yes","No")
--
Ikaabod
------------------------------------------------------------------------
Ikaabod's Profile:
http://www.excelforum.com/member.php...o&userid=33371
View this thread:
http://www.excelforum.com/showthread...hreadid=545513