473,404 Members | 2,195 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Dumping query result into Excel spreadsheet

I have a Query called "DATA" that contains 60 records with 6 fields of
data. I want to dump the query results into a specific xls file.

The first worksheet of this xls file has space for the query in the
first 6 fields (columns A - F) but the rest of the columns (G - T) has
values and formulas based on data needed from the Query.

The second worksheet has graphs based on all the data of the first
worksheet.

I need to be able to dump the contents of this qury into the xls file
without losing the existing contents of the xls file.

Any suggetions on how to do this??

Nov 13 '05 #1
2 3960
One way:
1. link to the Excel query by doing a File - Get External Data - Link,
then choose your SS
2. turn the "DATA" query into an append query, and specify the linked
Excel file from step 1.
3. match the fields up.
4. Run your append.

You may have to insert some column headings for your missing fields.
But linking and appending should work - it won't overwrite the data in
your spreadsheet, it'll just add them to the end of the file so you get
one contiguous block

Nov 13 '05 #2
Or, export your data to worksheet A and rename your existing worksheet
B
then modify worksheet B to pull its data from worksheet A

in effect, 'A' is your raw data
and 'B' is your presentation data

and you could use Excel vba in 'B' to run a macro in your Access mdb to
populate 'A' with the latest raw data

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Tom wilson | last post by:
This is driving me nuts. I'm trying to update an Excel spreadsheet using ADO.Net and Oledb in VB.Net. The connection is open, the adapter is connected and the dataset is loaded. Here's the code...
4
by: Jenni | last post by:
Hi, I'm a newbie, and I'm not sure I've come to the right place. I have inherited a 95% developed access xp database, and some 95% developed excel reports. Up to now my predecessor has been...
3
by: John | last post by:
Is there a way to code the button that's available in the query window--microsoft excel icon that exports to excel. I know transferspreadsheet will do this---but I want the query, which is in a...
1
by: Ellen Manning | last post by:
I'm trying to export an Excel2K spreadsheet to A2K. Here is a sample of the Excel spreadsheet: LastName FirstName Hours Location HoursPercent Doe John ...
5
by: Wired Hosting News | last post by:
I tried to be breif and give a scenario so as not to be overlooked because it was soooo long. Let me give you real world. I am a manufacturer of goods and produce 11 items that are distributed...
0
by: Rand | last post by:
I'm building a 'search' form in my database which will be used to select specific records from a table. I use input from the form controls to build a query (with a variable number of columns)...
12
by: TARHEELS721 | last post by:
I am trying to send the results of a query that runs when I click a button on my form that is based on a parameter query. The code runs without any errors but nothing is exported into my excel...
9
by: QCLee | last post by:
Sir can you help me to transfer my Access Query to MS excel? i have a command button on the form to export the parameter query named "HVACWindwardQuery" to excel spreadsheet and i got the codes...
9
by: Sinner | last post by:
Hi, I have a field name 'USER' in tableMAIN. How do I replace the user names with corresponding user names. I can do that in xl using vlookup but now I'm trying to find a way to do that in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.