Last used cell

  • Thread starter Thread starter Hawk
  • Start date Start date
Hi
for column A try
ActiveSheet.Cells(Rows.Count, "A").End(xlUp).select
 
GetBottomRow = TheSheet.Cells.Find(what:="*", SearchOrder:=xlByRows, _
SearchDirection:=xlPrevious).Ro
 
I suggest using worksheet.usedrange.columns.count and usedrange.rows.count
You can then use worksheet.cells to refer to it.
Geoff
 

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