Exporting query results to excel (1 Viewer)

MickeyGreen

Registered User.
Local time
Today, 18:06
Joined
Apr 28, 2005
Messages
14
I want to automate a process of exporting several simple queries to excel (and to overwrite the existing excel files). This has to be easy but I can't "record" the basic steps like I can in excel to get me started. can anyone help?
 

reclusivemonkey

Registered User.
Local time
Today, 23:06
Joined
Oct 5, 2004
Messages
749
Use the VBA help files. TransferSpeadsheet or OutputTo will help. Althout you may find it easier to "pull" the information out of Access via Excel if you are more familiar with Excel. Take a look at the "Data" --> "Import External Data" menu in Excel.
 

x0reset

Registered User.
Local time
Today, 15:06
Joined
Nov 14, 2005
Messages
52
If your not comfortable using VBA you can use the "TransferSpreadsheet" option in the macro builder. You may also find it helpful to know that exporting a spreadsheet with the same name as an existing spreadsheet will automatically overwrite the old version.
 

MickeyGreen

Registered User.
Local time
Today, 18:06
Joined
Apr 28, 2005
Messages
14
Thanks,

I got both the vba and macro methods to work. I think I like the vba version better because it's easier to update.
 

Users who are viewing this thread

Top Bottom