Ok so I saw that we can make a macro to select x and y min/max values so I made this macro and it display what I want. But still no clue why the automatic range didn't work properly ... maybe my difference betwwen min and max is to small ... Linked to a button ActiveSheet.ChartObjects("Graphique 7").Activate ActiveChart.Axes(xlCategory).Select ActiveChart.Axes(xlCategory).MinimumScale = Range("P63") - 1 / 100 * Range("P63") ActiveChart.Axes(xlCategory).MaximumScale = Range("X63") + 1 / 100 * Range("X63") Application.CommandBars("Format Object").Visible = False
Issue with automatic range on excel's graph
Baptiste
25
Reputation points
Good morning,
I have an isue with my microsoft graph : I use one graph to show results that change over time and assay.
So to display correctly the values I ticked automatic range, it worked perfectly for my exemple but now it shows the values on a small part of the graph with the same parameters... what can I do ?
If I manually change the values from 0.018 to 0.02 it works ; but not from 0.018 to 0.009 ... Thanks for reading.
Microsoft 365 and Office | Excel | For business | Windows
Microsoft 365 and Office | Excel | For business | Windows
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data