thelostscott
Board Regular
- Joined
- May 7, 2010
- Messages
- 226
Can someone please give me some advice on adding a row whilst keeping formulas in place?
Currently I have the below code:
I need to keep the formulas in place in variable rows and not have them deleted.
Any Ideas?
Currently I have the below code:
Code:
Sub Add_Row()
Application.ScreenUpdating = False
With Range("D14").End(xlDown)
With .EntireRow
.Insert
.Offset(-1, 0).FormulaR1C1 = .FormulaR1C1
.ClearContents
End With
End With
Application.ScreenUpdating = True
End Sub
Any Ideas?