ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   reference non blank cell (https://www.excelbanter.com/excel-programming/300921-reference-non-blank-cell.html)

jrh

reference non blank cell
 
my macro deletes any row that does not contain the value
of filter1. For obAll, I want the macro to delete any row
that has no value and keep all the rows that have some
value. I currently have:

If obAll Then Filter1 = ""

but this does the opposite, it deletes the nonblanks and
keeps the blanks. Can you tell me what to assign for
Filter1 to mean the nonblanks?

thank you.


All times are GMT +1. The time now is 05:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com