I\'m trying to refer to a cell in an excel table by using the table header name and the row number using VBA.
How can I do this?
A shorter answer is:
MsgBox [MyTable].Cells(2, [MyTable[MyColumn]].Column)
Much cleaner and easier!