Solved

MS Access 2013:  Control Button to Export 3 Tables to Excel

Posted on 2013-12-27
3
592 Views
Last Modified: 2013-12-27
I’m sorry for asking so many questions, but this is very close to being the last one.

I have an Access 2013 Database with 3 Tables.  I also have a form with a Control Button (‘Finalize’).  What I would like to happen is that when this Control Button is clicked, all 3 Tables get exported to select, pre-saved (but blank) Excel spreadsheets:

Table1 is exported to Excel Dump1  (C:\Users\Matt\Desktop\WUCAINS Folder\Excel Dump1.xlsx)
Table2 is exported to Excel Dump2  (C:\Users\Matt\Desktop\WUCAINS Folder\Excel Dump2.xlsx)      
Table3 is exported to Excel Dump3  (C:\Users\Matt\Desktop\WUCAINS Folder\Excel Dump3.xlsx)

The Excel Spreadsheets don’t have to open, but what I want is—for every time data is exported to these spreadsheets, the new data simply over-writes any existing data that may exist there and the spreadsheet is saved.

Finally, I have another 3 Excel Spreadsheets (pre-saved) that have formulas tied to the first 3:

Excel Dump1  is tied to Excel Update1  (C:\Users\Matt\Desktop\WUCAINS Folder\Excel Update1.xlsx)
Excel Dump2 is tied to Excel Update 2        (C:\Users\Matt\Desktop\WUCAINS Folder\Excel Update2.xlsx)      
Excel Dump 3 is tied to Excel Update3  (C:\Users\Matt\Desktop\WUCAINS Folder\Excel Update3.xlsx)

Again, these Excel Spreadsheets don’t have to open, but what I want is—for every time Access exports data to the first series of Spreadsheets, the 2nd Series of Spreadsheets also gets automatically updated with the new information exported into the 1st Series of Spreadsheets (the formulas within the 2nd Series of Spreadsheets are simply subject to the new data just exported into the1st Series of Spreadsheets), and these Spreadsheets are saved.

Can anyone give me any codes to make this happen?  Thank you so much for your help.
WUCAINSMaster.accdb
0
Comment
Question by:mdstalla
3 Comments
 
LVL 57
ID: 39742718
<< I?m sorry for asking so many questions, but this is very close to being the last one.>>

 Let's hope not; questions are what everyone lives for on EE!

Jim.
0
 
LVL 35

Accepted Solution

by:
PatHartman earned 500 total points
ID: 39742779
This sounds a lot like your other questions.  Did you use TransferSpreadsheet to export the spreadsheets in your other question?   I'm pretty sure I posted an example.

The second three spreadsheets should be set to refresh when they open.  You don't do that from Access.  You do it in Excel.
0
 

Author Closing Comment

by:mdstalla
ID: 39742939
Yup, that was simple.  Thanks for the guidance Pat.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Outlook Free & Paid Tools
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

810 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