last row

L

larry

is it possible to get the last row of a range,

where the range spans several columns of data?
 
D

Don Guillett

try
lastrow = Sheets("Sheet12").Cells.Find("*", searchdirection:=xlPrevious).Row
MsgBox lastrow
 
Top