Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / March 2008

Tip: Looking for answers? Try searching our database.

export from access query to excel template

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ivanl - 26 Mar 2008 16:54 GMT
Hello,

I have used the transferspreadsheet to transfer the data from the query I
want to excel.  That works fine.

The problem is, I want the data from excel to be placed into a template
file.  e.g. when you double click on a template file, a template opens, and
the data should go in there.  

As it stands now, the transferspreadshet puts the data into the template as
if I clicked "open" and put the data it.

How do I transfer the data to a template as if I double clicked on the
template file?

Thanks,

Ivan
arookie - 29 Mar 2008 04:05 GMT
You will need to use the excel object and then open the worksheet,
open the query in recordset, loop thru the recordset and then fill the
data in worksheet range, save the file using application path and then
open it for user.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.