Delete 3 end row
If you are looking for a macro to delete the last 3 rows try the below
Sub MyMacro()
Dim lngLastRow As Long
lngLastRow = ActiveSheet.Cells.Find(What:="*", _
SearchDirection:=xlPrevious, SearchOrder:=xlRows).Row
Rows(lngLastRow).Offset(-2).Resize(3).Select
End Sub
--
Jacob (MVP - Excel)
"climate" wrote:
Hi
I want to delete three end row of any sheet. any sheet has different row
number.
Thank's for any help.
your's
|