I have a table with columns that have headers. I’d like to be able to convert the structured reference
[Column 2] to the range
Table1[[#Data],[Column2]] to the range
edit for context:
This is in the formula editor so the structured references refer to a table in the current worksheet.
This will give you the address:
This would give you a reference to the range itself
Dim rng As Range Set rng = Activesheet.Range("Table1[[#Data],[Column2]]")
In the Table options you can select the option Convert to Range which will change structured references in formulas to range references, you can then choose Insert Table to reinstate the table. To simplify formulas you could use find & replace e.g.
$ with blank.