Import records from Access into Excel

CBO

Registered User.
Local time
Today, 00:49
Joined
Aug 8, 2005
Messages
10
Does anyone know some code to return records from Access to an Excel Spreadsheet?
 
Still need help getting records from Access into Excel. Anyone know any VBA code??
 
Here's some code you may look at. It also includes creating a chart in Powerpoint.
 

Attachments

The TransferSpreadsheet method will output data [table or query] to an Excel file.
 
Re: Get records from Access into Excel

mresann,

can't open the database, what version of access is it in?
 
Re: Get Access Records into Excel

ghudson

thanks, i will try the transfer spreadsheet.
 
This is the basic code..

DoCmd.TransferSpreadsheet acExport, 8, "qryYourQuery", "\\YourPath\YourFile.xls", False, ""
 

Users who are viewing this thread

Back
Top Bottom