Hi all - I imagine this is very elementary but I can't seem to get it right. I'm very experienced with Excel but very new to using VBA. Appreciate all help: I have a table called Table1. I would like to copy from another worksheet on the row below the final row of the table. The macro recorder uses a static cell address that I would like to replace with a formula. Here is what I tried:
Thank you in advance for the help!
Code:
Selection.Copy Sheets("TS").Select
Range("B4").Select
Selection.End(xlDown).Activate
Range(ActiveCell.Offset(-1, 0)).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Selection.End(xlDown).Select
Thank you in advance for the help!