Solved

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

Posted on 2013-12-27
3
613 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 37

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adjusting a Button Control to register a different number 12 41
Excel Auto-Complete lines 4 32
Excel VBA Script 9 55
Close gap between sub forms on a main form 5 26
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

737 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