Try this:
ActiveChart.SeriesCollection(1).XValues = Worksheets("Sheet1").Range("Titles")
Change the name of the worksheet as applicable.
It works fine in Excel 2003
Try this:
ActiveChart.SeriesCollection(1).XValues = Worksheets("Sheet1").Range("Titles")
Change the name of the worksheet as applicable.
It works fine in Excel 2003
Welcome to: http://www.exceldigest.com/myblog/
"Excel help for the rest of us"
Hi se1429,
That will set the axis labels to the range defined by the named range Titles but it will be a static link.
If the range Titles changes the chart will not update.
Hi
I tried changing some cells within the range, and chart got updated on the spot.
May be you have to setup some other chart properties. I am not sure. I hope I could give an immediate answer.
Regards.
Yes, if you change any of the existing cells in the range then yes the chart will update.
I was thinking, maybe too much, that the range was dynamic, in that it could expand or contract.
Many thanks Andy / Se1429
I had nearly gotten there but forgot the "!" in the reference. Many thanks for your help. Finished article attached for reference. I have one more question to finish it completely but I will post that as a new question as the title of it will have to change.
Many thanks again for all help
Rgds Nigel
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks