Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
現在、プロットの x 軸ラベルは 0,2,4,6,8,10 です。
年に変更したい:2013、2014、2015など...
どうすればいいですか?
ここでは多くのことを想定していますが、軸のカテゴリ名を指定する必要があります。例えば:
ActiveSheet.ChartObjects(1).Chart.Axes(xlCategory, xlPrimary).CategoryNames = Range("A2:A25")