Hi - I want to export an access query to an excel workbook, but the kicker is the information needs to be seperated onto different worksheets in the workbook.
Example of what I'm working with:
Query: "select event_id, event, date, time, building from calendar where event is not null"
I want to put the specific event data on a worksheet that is specific to the particular building. So that means I could have lots of worksheets in the excel workbook, with each worksheet specific to the particular building.
Thanks for any help! If anyone has any code that would be VERY helpful as well. Thanks!
Example of what I'm working with:
Query: "select event_id, event, date, time, building from calendar where event is not null"
I want to put the specific event data on a worksheet that is specific to the particular building. So that means I could have lots of worksheets in the excel workbook, with each worksheet specific to the particular building.
Thanks for any help! If anyone has any code that would be VERY helpful as well. Thanks!