folks, a user has just decided that they need an extra column in a particular model. one of the source feeds is housed in a table ("Table1") on an adjacent worksheet. in the current model, the source feed is copied by selecting the table and then pasting it to a sheet used to combine the multiple feeds ("Combined"). there is no opportunity to include an extra column in the initial download of data so i need to insert a column into the "Combined" sheet which means splitting Table1 as its being copied over.
This is my current code for this step.
is there an easier way than using a named range for the the first three columns of the table and a named range for the rest of the table and then copying/pasting each in turn to the Combined sheet?
This is my current code for this step.
Code:
With Worksheets("Combined")
' copy filtered rows to Combined tab at A6
Worksheets("T1 Download").Range("Table1").SpecialCells(xlCellTypeVisible).Copy
.Cells(.Rows.Count, "b").End(xlUp).Offset(1, -1).PasteSpecial xlPasteValues
is there an easier way than using a named range for the the first three columns of the table and a named range for the rest of the table and then copying/pasting each in turn to the Combined sheet?