• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Select Table Column dinamically

rolo

Member
Hello,

When table name & table column are known, I use this code to select the table column:
Code:
Range("Countries[Code]")


But what if I have to get my table name & my table column from cells, like:
Code:
TBName=range("A1")
TBColumn=range("A2")


How can I select my table column using those variables?


Thanks for your help!
 
Since this is public forum and purpose is to help others. My suggestion is to post your solution to the problem, instead of deleting the post.

That way, someone searching for solution to the same problem may find it helpful.
 
Back
Top