Changing Category (x) axis labels for radar charts

B

Bob Smith

Having difficulty assigning new labels for radar chart
Worksheets("R").ChartObjects("Chart 42").Chart.SetSourceData
Source:=Sheets("P").Range("C4:C40"), PlotBy:=xlColumns
works ok and the values change but I am lost as to how to change the
category x labels. Any suggestions ?
 
P

Peter T

s = Worksheets("P").Range("B4:B40").Address(, , xlR1C1, True)
Worksheets("R").ChartObjects("Chart 42").Chart.SeriesCollection(1).XValues =
s

change B4:B40 as appropriate

Regards,
Peter T

Change
 
B

Bob Smith

Found the solution, use multiple range selection in the line below

....Range("A4:A40,C4:C40").....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top