Hello Everyone,
I want a macro that will find the last blank row but only up to row 35 (not beyond row 35). I found the below macro online
and it works very well but on my spreadsheet it will go past row 35! The range I want to look in is from cell B11 down to
cell B35. I need to select the first cell within that range that does not contain and data...
Perhaps the below code is able to be modified to not search past row 35?:
nextrow = Cells.Find(what:="*", searchdirection:=xlPrevious, searchorder:=xlByRows).Row + 1
Cells(nextrow, 2).Select
Thank you in advance for any help.
Margate
I want a macro that will find the last blank row but only up to row 35 (not beyond row 35). I found the below macro online
and it works very well but on my spreadsheet it will go past row 35! The range I want to look in is from cell B11 down to
cell B35. I need to select the first cell within that range that does not contain and data...
Perhaps the below code is able to be modified to not search past row 35?:
nextrow = Cells.Find(what:="*", searchdirection:=xlPrevious, searchorder:=xlByRows).Row + 1
Cells(nextrow, 2).Select
Thank you in advance for any help.
Margate