Please help, my code keeps pasting values. The rows im copying have values in some cells and formulas in others, i only want the formatting and the formulas this is driving me crazy, this is what i have. Is there a way to copy the formulas and leave blank the cells with just values in?
Sub NewRows()
Dim Last_Row As Long
Last_Row = Cells(Rows.Count, 1).End(xlUp).Row + 2
Rows("24:28").Copy
Cells(Last_Row, 1).PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
Cells(Last_Row, 1).PasteSpecial Paste:=xlPasteFormulas, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
End sub
Sub NewRows()
Dim Last_Row As Long
Last_Row = Cells(Rows.Count, 1).End(xlUp).Row + 2
Rows("24:28").Copy
Cells(Last_Row, 1).PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
Cells(Last_Row, 1).PasteSpecial Paste:=xlPasteFormulas, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
End sub