Chart position affects sub-routine speed

EssKayKay

Board Regular
Joined
Jan 5, 2003
Messages
233
Office Version
  1. 2007
Platform
  1. Windows
I have an Excel 2007 spreadsheet where I track investment accounts. I have a sub-routine that updates a chronological list of values which is used to graph the progress. For the most part it works fine.

My question:
The routine runs quite quickly – around one second. However, if I reposition graph location by moving it up on the worksheet, the routine slows down. Sometimes it takes 4-5 seconds to complete (no biggie) but I’ve seen it slowdown to over 30 seconds. If I move the graph back to the original position it returns to a one second process. If I move the chart down, left, or right (just not up) the speed is not affected. Any suggestions would be appreciated?

Thanks,
Steve
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
application.screenupdating = false I can only imagine that something is being redrawn and the usual position has nothing behind it
 
Upvote 0
set it to True once it completes otherwise you might get a stuck screen
 
Upvote 0
Yup, I actually did that. Again, thank you for your time and consideration Mole999 - much appreciated. . . .
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,241
Members
449,075
Latest member
staticfluids

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