Excel bug? why does it change the size of my chart?

Emmanuel

New Member
Joined
May 6, 2002
Messages
7
Hi
There is something strange with a spreadsheet, which contain many charts (all represent different temperature sensors).
I've made a macro to change at once time the X-Axis range (=time axis) on all charts.

The 1st time it works without any problem but if I want to change a second time the range, then many charts will be also reduced (only the chart inside the chart frame is reduced), although the macro act only on the values of the axis (... .Axes(xlCategory).MinimumScale = ...)
Have anyone any ideas why this happen. Is there any possibility to lock the size of my chart in order that when I change something in the axis it changes only what I want?

Emmanuel :confused: :eek:
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
You could store the Top, Left, Height and Width of the ChartArea before adjusting the axis scale. Then reset them afterwards.
 
Upvote 0

Forum statistics

Threads
1,214,806
Messages
6,121,672
Members
449,045
Latest member
Marcus05

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