Outputting to a template

  • Thread starter Thread starter dan
  • Start date Start date
D

dan

Hi,

I am trying to ouput a queries output into an excel
template but Outputto doesn't have for using templates
for excel. Is there another way to output the queries
output into a template?


Thanks.
 
Hi Dan,

You can do this by using Automation to launch Excel, and open a copy of
the template. Then create a recordset on your query and use Excel's
Range.CopyFromRecordset method to place the data where you want it.

There's an example of basic Excel automation here:
http://www.mvps.org/access/modules/mdl0006.htm
 

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