I have a table defined in Excel as a ListObject:
In VbA, I can access rows and columns using ListObject("table1").ListRows
or ListObject("table1").ListColumns
In one of my subs, I wan't to know the active cell's column name. And because the columns could be moved around, I want this to be dynamic.
For example, in the previous image, let's say I clicked on a cell of the third column. I'd like to have a function that tells me the column name associated …