Auto update feature on multiple pages

Jemmick

New Member
Joined
Mar 25, 2013
Messages
8
I have a large spreadsheet that is pulling data from an ODBC source and throwing it into a table. From that table I am creating a pivot chart and a pivot table. The data I want my sales people to see is the pivot charts. Here is the issue. I have all the tables and charts setup to autoupdate on open. What I want them to do is update every 10 minutes or so. Here is the other issue. My data "pull" takes about 30-45 seconds so my charts are refreshing before all the new data is pulled. So basically I have to go back and refresh the charts after doing a refresh all. I have began to build some really large programs in excel with 20 or so different sheets pulling and linking data. I feel getting into VB is going to be a must for me in the future.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
If you get in to your Connection properties you will see an option for Background Refresh, make sure it is not checked. You will also see an option to refresh every xx minutes.

There's also no reason why you have to pull the table and pivot table seperately. You can set your pivot table to pull directly from the ODBC, no middle table required.
 
Upvote 0
If you get in to your Connection properties you will see an option for Background Refresh, make sure it is not checked. You will also see an option to refresh every xx minutes.

There's also no reason why you have to pull the table and pivot table seperately. You can set your pivot table to pull directly from the ODBC, no middle table required.

Just for knowledge what does the background refresh buttons purpose? Also now that I have unchecked it how do I get the pivot chart to update everytime the pivot data does?
 
Upvote 0
turning off the background option means that events will happen in sequence only (not all at once). You mentioned your charts are updating before the queries are done running. Turning off background refresh would ensure that no further actions occur until the queries are done (the spreadsheet will essentially be locked to all input/actions). But now that I think about it, if your pivot tables are getting refreshed before the ODBC queries then this won't work for you.

Your best solution is what I said earlier, there is no need for a seperate ODBC query. Just set up your pivot table to use the ODBC as a datasource, then you won't have this problem any more.
 
Upvote 0

Forum statistics

Threads
1,214,383
Messages
6,119,196
Members
448,874
Latest member
Lancelots

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top