Solved

Transfer Spreadsheet Action

Posted on 1998-01-12
2
681 Views
Last Modified: 2012-08-13
Need to transfer Access data to an Excel spreadsheet file on a server.  When I send the query results to the file, it replaces the information that was in that file previously.  Is there a way in VBA to append the information to the Excel file?  Do I have to send it to a different file each time in the same folder/directory perhaps?
0
Comment
Question by:panrob
2 Comments
 
LVL 3

Accepted Solution

by:
chapie earned 100 total points
ID: 1965307
I've never had to append an Excel file before, always just replaced, but I would imagine you can create a linked table to the spreadsheet file, then create a temporary table run an append to the temp table, adding the current spreadsheet info, then add the table/query you want to the temp table, then do your transfer over the .xls file, at least that's how I would attempt it, maybe someone else has a better solutino
0
 

Author Comment

by:panrob
ID: 1965308
I hadn't thought of linking because I am exporting crosstab query results.  Haven't had a chance to see how appending works but I'll give it a whirl.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now