Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Update Excel tab

Posted on 2011-03-02
2
Medium Priority
?
303 Views
Last Modified: 2012-07-31
I have an excel file that I use as a template. The First tab contains blocks of data a4:b8 with an associated Graph linked to that block below it. Now I have the a4:b8 block being fed by the second tab for data. I have 5 sets of these. I use access to create the data and export it to the second tab which feeds the first tab and the graphs. Well it works great (almost). All five sets of blocks update to the new data no problem however the last two graphs do not update with the new data. If I go to the second tab and copy and paste the same data thats there it then resets the graphs. Any suggestions on how to fix this with access vba code so its done automatically right after I export the data so theres no need to go back in and recopy and paste the data ?
0
Comment
Question by:Stephen Roesner
[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
2 Comments
 
LVL 12

Accepted Solution

by:
Amick earned 1000 total points
ID: 35024334
Have you tried worksheets.calculate  and chart.refresh?
0
 

Author Comment

by:Stephen Roesner
ID: 35047539
I am assuming I have to open the spreadsheet with code to do the worksheet.calulate or chart.refresh correct? Or can you do it directly with vba?


0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

636 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