ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   X Axis Tick Labels (https://www.excelbanter.com/charts-charting-excel/239343-x-axis-tick-labels.html)

Naftas

X Axis Tick Labels
 
I have created X axis tick labels number format at axis minimum and maximum:

maks1 = ActiveChart.Axes(xlCategory).MaximumScale
minim1 = ActiveChart.Axes(xlCategory).MinimumScale
znakx1 = "[=" & minim1 & "]""S"";[=" & maks1 & "]""N"";General"
With ActiveChart.Axes(xlCategory)
.MinimumScaleIsAuto = True
.MaximumScaleIsAuto = True
.TickLabels.NumberFormat = znakx1
End With

In some cases this works fine. But in some I have maximum label as I wish
"N" and minimum label as number. Also Is there way to automate this job with
Maksimum Sacale and Minimum Scale chart option changes.

Best Regards,
Naftas


All times are GMT +1. The time now is 12:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com