Cecilia,
I think you want ANDs instead of ORs. With ANDs, one of the <
conditions will always be true, regardless of the value of
Cells(NumFilas,2).
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"cecilia12345" wrote
in message ...
i have this conditional sentence
If Cells(NumFilas, 2).Value < "NAFF" Or Cells(NumFilas,
2).Value <
"NEQ" _
Or Cells(NumFilas, 2).Value < "IBR" Then
....
end if
however, the conditions are ignored when the program is
running...
why?
---
Message posted from http://www.ExcelForum.com/