View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
Norie Norie is offline
external usenet poster
 
Posts: 1
Default In Excel 2000, how can a macro look for the next empty cell?


To find the last row in a column you can use something like this.

Code:
--------------------

Dim LastRow As Long

LastRow= Range("A65536").End(xlUp).Row

--------------------

This should return the last row of data in column A.

LastRow can then be used in the rest of your code.


--
Norie
------------------------------------------------------------------------
Norie's Profile: http://www.excelforum.com/member.php...o&userid=19362
View this thread: http://www.excelforum.com/showthread...hreadid=379694