Hello
,
I have multiple related queries that I want to filter and export to a single excel file with multiple sheets.
Using TransferSpreadsheet and a do loop, for each query, I was able to creat a excel file with multiple sheets.
I'm wondering if it's possible to export all queries to the same excel file created from exporting query1.
In other words, to have one excel file with multiple sheets (roughly 140 in my case). And for each sheet I will have the data from query1 in cell $a1:m10, data from query2 in cell from $a12:m23, and so on. Is this possible?
I tried to use the Range feature but received an error message because the range already exists. Is there a way to overwrite the range since there's actually no information in those cells? Or I should go with a different approach?
Many thanks!

I have multiple related queries that I want to filter and export to a single excel file with multiple sheets.
Using TransferSpreadsheet and a do loop, for each query, I was able to creat a excel file with multiple sheets.
I'm wondering if it's possible to export all queries to the same excel file created from exporting query1.
In other words, to have one excel file with multiple sheets (roughly 140 in my case). And for each sheet I will have the data from query1 in cell $a1:m10, data from query2 in cell from $a12:m23, and so on. Is this possible?
I tried to use the Range feature but received an error message because the range already exists. Is there a way to overwrite the range since there's actually no information in those cells? Or I should go with a different approach?
Many thanks!