Solved

Update Excel tab

Posted on 2011-03-02
2
299 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:Grizbear51
2 Comments
 
LVL 12

Accepted Solution

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

Author Comment

by:Grizbear51
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

Industry Leaders: 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

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
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…
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.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

730 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