#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default Use of OR


If Range("SupportUnrstrd")(i).Offset(0,-
21) < "500" _
Or Range("SupportUnrstrd")(i).Offset
(0, -21) < "550" Then


this will always return True. If the cell does equal 500, then the second
part will be True and

True Or False = True

You'll never have a False Or False result, so every cell will be processed.

--
Dick Kusleika
MVP - Excel
Excel Blog - Daily Dose of Excel
www.dicks-blog.com


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"