Duplicate last row and other progressive numbers
hi John,
Public Sub Tester()
Dim WB As Workbook
Dim SH As Worksheet
Dim LastRow As Long
Set WB = ActiveWorkbook
Set SH = WB.Sheets("UK")
With SH
LastRow = .Cells(.Rows.Count, 1).End(xlUp).Row
..Range(.Cells(LastRow, 1), .Cells(LastRow, 10)).AutoFill
Destination:=.Range(.Cells(LastRow, 1), .Cells(LastRow + 1, 10)),
Type:=xlFillDefault
End With
End Sub
isabelle
|