VBA Code for First EMPTY cell in column

jms2553

Board Regular
Joined
Jun 5, 2002
Messages
107
I found the code that will return the first non-empty cell, but can't find one for the first empty cell. I need to continually update data, and add it to different workbooks and sheets, at the end of the existing data. Any help will be greatly appreciated.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Range("A65536").End(xlUp).Offset(1,0).Select

this will select the first empty cell from bottom row of the coloumn. you can manipulate this to suite for your purpose.

GNaga
 
Upvote 0
That worked great - thanks! One more question, I hope. When I'm filtering data, to copy and paste into another worksheet, occasionally I need to select everything but the header row and paste that data into the first empty cell of a differenct worksheet. This row (containing the information that is going to copied and pasted) is going to keep changing, so what might be Row 485 one day will be 845 the next.
 
Upvote 0

Forum statistics

Threads
1,214,788
Messages
6,121,600
Members
449,038
Latest member
Arbind kumar

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