exporting to excel sample DB

soundsfishy

Registered User.
Local time
Today, 23:15
Joined
Sep 25, 2002
Messages
174
I found this great little DB that imports data form excel to a DB. What I would like to do is the opposite by using a the record set from a query.

Ideally whatI'd love to do is export the records from the query into a specified xls sheet that that dont already exist in the spreed sheet.
 

Attachments

To export a query to excel you can use this line.

Code:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel97, "name of query", "c:\dir\file.xls"

Fuga.
 
thanks, I'll give that a try.
 

Users who are viewing this thread

Back
Top Bottom