koolwaters
Active Member
- Joined
- May 16, 2007
- Messages
- 403
Hi.
I need to export the records of an Access query into different sheets of a workbook.
Let's say I have a query that pulls all of the transactions for a particular period. I would like to export this data to Excel but have a new worksheet for the different locations where the transactions were done and name the sheets based on the location.
So if for example my locations are North, South, East and West, I would like to export all of the West transactions to a sheet called West, all of the South to a sheet called South, etc.
I have been searching for a while but everything that I am seeing relates to exporting multiple queries. I do not want to go that route as this process has to be replicated for a number of workbooks that needs to be grouped by a particular field and I know that I will have to create at least 30 queries to accomplish this.
Thanks for any assistance.
I need to export the records of an Access query into different sheets of a workbook.
Let's say I have a query that pulls all of the transactions for a particular period. I would like to export this data to Excel but have a new worksheet for the different locations where the transactions were done and name the sheets based on the location.
So if for example my locations are North, South, East and West, I would like to export all of the West transactions to a sheet called West, all of the South to a sheet called South, etc.
I have been searching for a while but everything that I am seeing relates to exporting multiple queries. I do not want to go that route as this process has to be replicated for a number of workbooks that needs to be grouped by a particular field and I know that I will have to create at least 30 queries to accomplish this.
Thanks for any assistance.