In Excel VBA, I am using Excel as datasource for some queries. I am using the query as
SQL = "Select * from [NameRange1]" - This works
But, I want to use a table name instead of Namerange(Excel 2007 Tables). How do I use that?
I tried "select * from [Table1]"
and I also tried creating a Namerange for this table1 and it didn't work either..
any ideas please?