Raveendra Kumar G
New Member
Hi Sir/Madam,
When we use excel as database
we use query strSQL = "Select Distinct [Product] From [data$] Order by [Product]"
Here "data" is sheet name.
But I want to use [dataA1:G10$] instead of [data$].
When I use as [dataA1:G10$] macro throwing error.
Can you help me out how can I use?
For your better uderstanding
https://chandoo.org/wp/using-excel-as-your-database/
When we use excel as database
we use query strSQL = "Select Distinct [Product] From [data$] Order by [Product]"
Here "data" is sheet name.
But I want to use [dataA1:G10$] instead of [data$].
When I use as [dataA1:G10$] macro throwing error.
Can you help me out how can I use?
For your better uderstanding
https://chandoo.org/wp/using-excel-as-your-database/