I have a named range of cells in 'Sheet1' lets call them 'Range1'. I have another range of cells in 'Sheet2' lets call them 'Range2'.
I want to copy the references from Range1 and paste them into Range2 but at the start or end of the range, so Range2 will automatically extend to incorporate these new cells.
I have already tried the following code but it doesn't work.
Sheets("Sheet1").Range("Range1")
Sheets("Sheet2").Range("Range2")(1).Select
Selection.Insert Shift:=xlDown Link:=True
I am new to VBA so I am aware the above may be completely the wrong way of going about it! Alternative solutions would be appreciated as well.
I managed to solve this using the following code: