ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Number of categories between tick-marks (https://www.excelbanter.com/charts-charting-excel/118405-number-categories-between-tick-marks.html)

cherman

Number of categories between tick-marks
 
How do you change the "number of categories between tick-marks labels"
setting under Scale of Category (x) axis scale from code?

Thanks,
Clint

Andy Pope

Number of categories between tick-marks
 
Hi,

The macro recorder generated this.

With ActiveChart.Axes(xlCategory)
.TickLabelSpacing = 1
End With

Cheers
Andy

cherman wrote:
How do you change the "number of categories between tick-marks labels"
setting under Scale of Category (x) axis scale from code?

Thanks,
Clint



All times are GMT +1. The time now is 02:38 AM.

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