Rowland Hamilton
Active Member
- Joined
- Nov 13, 2009
- Messages
- 250
Folks:
How do I use this formula in excel vba...:
...If I don't know the name of the table, or the table name will change?
Like maybe today the table name is "Table_Dyna_1" but later it could be "Table_Dyna_1_1" or "Table_Dyna_2" (probably because the original download is in the background or something). And I'm not sure of all possible variations on the table name.
I tried a wildcard asterix, but that didn't work:
I will perform the "convert to range" command on a freshly imported, selected and active table.
Thank you - Rowland
How do I use this formula in excel vba...:
Code:
ActiveSheet.ListObjects("Table_Dyna_1").Unlist
Like maybe today the table name is "Table_Dyna_1" but later it could be "Table_Dyna_1_1" or "Table_Dyna_2" (probably because the original download is in the background or something). And I'm not sure of all possible variations on the table name.
I tried a wildcard asterix, but that didn't work:
Code:
ActiveSheet.ListObjects("Table_Dyna*").Unlist
I will perform the "convert to range" command on a freshly imported, selected and active table.
Thank you - Rowland