I'm trying to copy a row format from one worksheet to another.
This code works for every row other than row 8. It doesn't bug out, it just doesn't copy and paste the row.
Lr = Sheets("34.5kV Cable Schedule").Range("K" & Rows.Count).End(xlUp).Row
Sheets("Format").Range("A4:R4").Copy
Rows(Lr + 1).PasteSpecial
Application.CutCopyMode = False
Range("CounterInCable").Value = Range("CounterInCable").Value + 1
Rows(Lr + 1).Select
Range("E" & (ActiveCell.Row)).Select
ActiveCell.Value = Range("CounterInCable").Value
Lr is used to know where the last pasted row is so that this pastes below it
Counter is a counter
Last two lines make that particular cell = the counter
If I add 1 to Lr it works for row 9 and after.