Last Cell

  • Thread starter Thread starter Alan
  • Start date Start date
A

Alan

I know this has been asked before but I cant find what I want on Google.
I need to get the address or row number of the first empty cell in column A,
either will do, I need to use VB to copy and paste data from ten sheets into
one.
A formula or a VB way would be great, anyway of identifying the first empty
cell. This cell may be empty or contain a null string. Any help would be
reaaly good.
TIA
Alan.
 
to find the last row
x=cells(rows.count,"a").end(xlup).row+1
to find the next empty
x=cells(1,1).end(xldown).row ' or address
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top