Hi
I've just tweaked dangelor's code a bit and I think it gives you what you are chasing.
Sub InsertRowS2()
With Worksheets("Data Input -Unit Leaders")
.Activate
.Unprotect Password:="team"
.Cells(.Rows.Count, 1).End(xlUp).Offset(1, 0).EntireRow.Copy
.Cells(.Rows.Count, 1).End(xlUp).Offset(-1, 0).EntireRow.Resize(250).Insert shift:=xlDown
.Protect Password:="team"
End With
With Worksheets("Ranking - Unit Leaders")
.Activate
.Unprotect Password:="team"
.Cells(.Rows.Count, 1).End(xlUp).Offset(-2, 0).EntireRow.Copy
.Cells(.Rows.Count, 1).End(xlUp).Offset(-1, 0).EntireRow.Resize(250).Insert shift:=xlDown
.Protect Password:="team"
End With
End Sub
rylo
Bookmarks