Hello,
Please help me with macro which can shift (increase by 7)
X axis scale maximum and minimum values.
Thanks a lot!
Hello,
Please help me with macro which can shift (increase by 7)
X axis scale maximum and minimum values.
Thanks a lot!
Did you know what they wee before?Originally Posted by protonamends the x axis (for series 1), andActiveSheet.ChartObjects("Chart 1").Activate ActiveChart.ChartArea.Select ActiveChart.SeriesCollection(1).Values = "=Sheet3!R2C1:R7C1"
adjusts the Y axis limits.ActiveSheet.ChartObjects("Chart 1").Activate ActiveChart.Axes(xlValue).MajorGridlines.Select With ActiveChart.Axes(xlValue) .MinimumScale = 6 .MaximumScale = 9 .MinorUnitIsAuto = True .MajorUnitIsAuto = True .Crosses = xlAutomatic .ReversePlotOrder = False .ScaleType = xlLinear .DisplayUnit = xlNone End With End Sub
does this help?
---
.MinimumScale = 6
.MaximumScale = 9
must be variables and avery time must increase by 7
Originally Posted by protonwhich could then be stored, probably as a cell value in a cell of your choice..MinimumScale = myMinScale .MaximumScale = myMaxScale
---
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks