Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I change the series name by using Excel VBA 1

Status
Not open for further replies.

xitu

Technical User
Oct 1, 2003
55
US
This is one part the code to make the series:


.SeriesCollection(n).XValues = rngClock
.SeriesCollection(n).Values = rngDiffTemp

My chart will display Series1, Series2, Series3 ...


If I add this line

.SeriesCollection(n).Name = "Test"


My chart will display Test, Test, Test ...

How do I change Test, Test, Test, ... to Test1, Test2, Test3, ... ?

Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top