Screen stay put during animate graph

Brian F

Active Member
Joined
Aug 31, 2009
Messages
256
I have a table of values.
I have a graph (chart) graphically depicting those values.
I have a little vba program that cycles values into the equations that make up the data in the table and the chart becomes animated as the values change.

The problem: When I click the button to animate the chart the screen view changes to showing half of the data and half of the chart (or not, depending on I don't know what).

How can I either make the screen stay where it was before I activated the vba, or always display the same chosen portion of the spreadsheet ("C10:H55 for example) while the chart is animated?
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Show us your code, we can only guess without seeing what you did.

Here's my guess: If your code was the result of the macro recorder, you might have a .Select statement in there that forces the display to move to a different part of the worksheet.
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,971
Members
452,371
Latest member
Frana

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