I am new to VBA so I am only doing record macro and editing from it. I have some data in a table that is captured from formulas and I need to 'archive' them so that when the source is changed, the data is still there. I recorded a macro to copy the formula in the row to paste it on the next row and copy and paste numbers on the same row so that the data will not changed when the source is changed. But I want the macro to do the same for the following row when I click it the next time, how can i edit my code to do so?
Range("B20:K20").Select
Selection.Copy
Range("B21:K21").Select
ActiveSheet.Paste
Range("B20:K20").Select
Application.CutCopyMode = False
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Instead of copying from row 20, i want the macro to copy from row 21 and paste on row 22 the next time I run the macro. Please help! Thank you!