?
Solved

Update Excel tab

Posted on 2011-03-02
2
Medium Priority
?
305 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
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 Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

750 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