![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
I used the macro recorder to automate a task performed daily. In column C, it looks for blank cells and is supposed to delete the entire row if C has a blank cell. If there are no blank cells, the macro stops and I get a run-time error, and it says no cells were found. How do I make it just continue of there are no blank cells in column C?
Thanks! |
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
Put
On Error Resume Next before looking for blank rows. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|