Solved

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

Posted on 2013-12-27
3
559 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 34

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

708 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

18 Experts available now in Live!

Get 1:1 Help Now