Find next empty row within a specified range of cells

Obbsie

New Member
Joined
Nov 20, 2011
Messages
15
Hi All

How would I modify the below simple code which looks for the first empty cell in Column A within the whole workbook, so that it only searches for the first empty "A" cell within a range of rows? As it works from the bottom of the sheet up, and I have data below the area I wish to search, it does not work for my needs.

Code:
Cells(Rows.Count, 1).End(xlUp).Offset(1).Select

I'm looking to search between Rows 13 - 32 only. It should be simple, I know, but I need some help.

Thanks
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Cells(33, 1).End(xlUp).Offset(1).Select</pre>
 
Upvote 0
****, that was quick! Thanks Joe - I knew it would be something simple, staring me in the face. Much appreciated.
 
Upvote 0

Forum statistics

Threads
1,216,077
Messages
6,128,673
Members
449,463
Latest member
Jojomen56

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top