Hello,
I have a table named 'tbtrack' in the worksheet 'shtcodes'. Within this table there is a column with the header 'Tracking Code'.
I'm trying to make a separate range ('DPcodes') on a different sheet equal to the values in this column, so I thought it would be a good idea to set a new range ('TCodes') equal to the column in the table first.
However, I keep getting something wrong. I tried the following:
All this did was make the entire range in 'DPCodes' equal to the actual header rather than the contents of the column. Is there a way to make a structured reference to the range of cells and their values within a column rather than the header?
Much obliged.
I have a table named 'tbtrack' in the worksheet 'shtcodes'. Within this table there is a column with the header 'Tracking Code'.
I'm trying to make a separate range ('DPcodes') on a different sheet equal to the values in this column, so I thought it would be a good idea to set a new range ('TCodes') equal to the column in the table first.
However, I keep getting something wrong. I tried the following:
Code:
Set Tcodes = Evaluate("tbtrack[[#Headers],[Tracking Code]]")
DPcodes.value = Tcodes.value
All this did was make the entire range in 'DPCodes' equal to the actual header rather than the contents of the column. Is there a way to make a structured reference to the range of cells and their values within a column rather than the header?
Much obliged.