Exporting Table to Multiple Excel Spreadsheets

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Please bear with me as I have very little Access experience. I've an Access
database with over 550,000 records each containing 25 fields. Is there a way
to export the records to Excel in say 50,000 record increments? Again, I've
little experience so I need detailed information.
 
It is easy to do manually if you have an incremental autonumber in the
table. Write a query like:

Select * From MyTable Where ID >=1 And <= 50000);

Now use the TransferSpread sheet method in code, or a macro to move the data
to a spreadsheet.

If you can write code you can use a loop which also increments the
spreadsheet file name. If you cannot write code, use presaved macros to do
them one at a time.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top