certifydgangsta
Registered User.
- Local time
- Today, 08:46
- Joined
- Jan 13, 2014
- Messages
- 26
I have some code that exports two hundred workbooks using various queries. I'm trying to add code to each workbook so that when the workbook opens it formats the data. I have all the formatting code complete, it is the access VBA code that adds VBA into each workbook that I cannot figure out. Any help is greatly appreciated.
I should add, that my code currently exports each query as its own spreadsheet in a single workbook. It then opens the workbook, does the formatting and re-saves. The issue is that it is taking roughly 8 hours to export/format all 200 files and there are people waiting to use the files. To make the files available quicker, I was thinking that I could just export all 200 files quickly and then have the formatting code run when the users open up any of the files. I'm certainly open to any ideas of how to speed up this process.
I should add, that my code currently exports each query as its own spreadsheet in a single workbook. It then opens the workbook, does the formatting and re-saves. The issue is that it is taking roughly 8 hours to export/format all 200 files and there are people waiting to use the files. To make the files available quicker, I was thinking that I could just export all 200 files quickly and then have the formatting code run when the users open up any of the files. I'm certainly open to any ideas of how to speed up this process.
Last edited: