I'm using record macro to do a simple copy and paste VBA code:
Range("F12").Select
Selection.Copy
Range("F10").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
But I have defined the cells F12 and F10 (so if I am to add rows/columns it won't mess up the formula) and I'm wondering if there is a way to record the macro so that it would use the defined names automatically. Is this possible? Or is there a line I could add to the code after I record that would easily replace the cells with the defined names? Right now I am updating the code manually with the defined names. I would like to keep using record macro because I have do the copy and paste manually this time anyway, but I'm hoping to use VBA in the future.