TooManyReports
Registered User.
- Local time
- Today, 02:42
- Joined
- Aug 13, 2010
- Messages
- 43
I want to create a macro that will export a single query to excel, that can create multiple workbooks from a list. It is not realistic to create individual queries for each item (100+ items and changes often) and need each item in a list in a different worksheet (preferably in the same workbook). I don't really care if each worksheet is not labeled. The list will be in one query and the primary information in another.
Example
Area List: 1,2,3,4,5,6,etc
Information table: Area, Store, City, State, Zip
Output for each worksheet:
Area 1 Store 2 City New Haven State VT
Area 1 Store 3 City Johnassaburg State VT
Next worksheet:
Area 2 Store 10 City Fort Worth State TX
Area 3 Store 12 City Dallas State TX
Any ideas on how to approach this would greatly appreciated!
Example
Area List: 1,2,3,4,5,6,etc
Information table: Area, Store, City, State, Zip
Output for each worksheet:
Area 1 Store 2 City New Haven State VT
Area 1 Store 3 City Johnassaburg State VT
Next worksheet:
Area 2 Store 10 City Fort Worth State TX
Area 3 Store 12 City Dallas State TX
Any ideas on how to approach this would greatly appreciated!