By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,714 Members | 1,205 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,714 IT Pros & Developers. It's quick & easy.

Export Access Query into Excel Worksheet

P: 1
How about this:

I want to export results of an MS-Access query into an existing XLS template using TransferSpreadsheet method?

I can create a new XLS file but I just want to append records from my query into an existing XLS template.
Jul 15 '10 #1
Share this Question
Share on Google+
2 Replies


ADezii
Expert 5K+
P: 8,704
@Amin Bardai
I think you are out of luck with TransferSpreadsheet but all is not lost. You can create a Recordset based on the Query and write its contents Row by Row to an External Text File as illustrated in Post #2.

P.S. - See Post #4 in the following Link. It deals with a similar type situation.
http://bytes.com/topic/access/answer...cordset-docmd-
Jul 15 '10 #2

NeoPa
Expert Mod 15k+
P: 31,769
This thread was originally posted in Export records via macro and append an existing Excel file.

Please post your questions in their own thread in future.
Jul 15 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.