I am automating a database for a client and I have run into a problem. I have researched it enough to know that I have to set up a loop. But, I can not find any code that will help me accomplish this. I am doing this in Access 2003.
The problem is:
I have a table with 25k records. Within these records I have around 100 unique manager values. I have built a query to group the managers together. Now what I want to do is to find a way to create 100 individual Excel 97-2003 files based on these manager groupings. So, for instance, 50 records containing value "SteveManag er" in the manager field would become an excel spreadsheet named SteveManager.xl s, and so on. This data is going to be overwritten every 3 months, so even creating 100 manual queries 1 time won't work because I would just have to redo it the next time since new managers are added/removed. Any help would be greatly appreciated!
Jodie
The problem is:
I have a table with 25k records. Within these records I have around 100 unique manager values. I have built a query to group the managers together. Now what I want to do is to find a way to create 100 individual Excel 97-2003 files based on these manager groupings. So, for instance, 50 records containing value "SteveManag er" in the manager field would become an excel spreadsheet named SteveManager.xl s, and so on. This data is going to be overwritten every 3 months, so even creating 100 manual queries 1 time won't work because I would just have to redo it the next time since new managers are added/removed. Any help would be greatly appreciated!
Jodie
Comment