Solved

Update Excel tab

Posted on 2011-03-02
2
295 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

744 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

11 Experts available now in Live!

Get 1:1 Help Now