Use:
ActiveSheet.UsedRange.SpecialCells(xlCellTypeLastC ell).Row
This returns the number of the last used row in a worksheet
--
Raman325
------------------------------------------------------------------------
Raman325's Profile:
http://www.excelforum.com/member.php...o&userid=24748
View this thread:
http://www.excelforum.com/showthread...hreadid=395920