View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim Thomlinson Jim Thomlinson is offline
external usenet poster
 
Posts: 5,939
Default Finding the last used row in a specific column...

For column A use...

lastrow = cells(rows.count, "A").end(xlUp).Row
--
HTH...

Jim Thomlinson


"havocdragon" wrote:

Hi all.

Currently I am using
Lastrow = Activesheet.usedrange.row - 1 + activesheet.usedrange.rows.count

I can't seem to figure out how to get this to work in a specified column