ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   charts; myChart.SeriesCollection(10).Name; lots of quotes (https://www.excelbanter.com/excel-programming/437255-charts%3B-mychart-seriescollection-10-name%3B-lots-quotes.html)

cate

charts; myChart.SeriesCollection(10).Name; lots of quotes
 
Playing with charts and saw this in a recording:

ActiveChart.SeriesCollection(10).Name = "=""""""NBT"""""""

I was changing the name of a series to a text string of NBT. What is
the reason for all the quotes.?

FYI. Using a range (I selected the cell with the name as a text
string" gives this:

ActiveChart.SeriesCollection(10).Name = "=Sheet1!R26C2"

Thank you.

Jon Peltier[_2_]

charts; myChart.SeriesCollection(10).Name; lots of quotes
 
What version of Excel? (I think I know...)

Just use this:

ActiveChart.SeriesCollection(10).Name = "NBT"

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/



cate wrote:
Playing with charts and saw this in a recording:

ActiveChart.SeriesCollection(10).Name = "=""""""NBT"""""""

I was changing the name of a series to a text string of NBT. What is
the reason for all the quotes.?

FYI. Using a range (I selected the cell with the name as a text
string" gives this:

ActiveChart.SeriesCollection(10).Name = "=Sheet1!R26C2"

Thank you.


cate

charts; myChart.SeriesCollection(10).Name; lots of quotes
 
On Dec 10, 10:09*pm, Jon Peltier wrote:
What version of Excel? (I think I know...)

Just use this:

* * *ActiveChart.SeriesCollection(10).Name = "NBT"

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.http://peltiertech.com/

cate wrote:
Playing with charts and saw this in a recording:


* * ActiveChart.SeriesCollection(10).Name = "=""""""NBT"""""""


I was changing the name of a series to a text string of NBT. *What is
the reason for all the quotes.?


FYI. *Using a range (I selected the cell with the name as a text
string" gives this:


* * ActiveChart.SeriesCollection(10).Name = "=Sheet1!R26C2"


Thank you.


2003
Yes, that's what I did. But I run into so many "things" I just wanted
to be sure. Thank you.


All times are GMT +1. The time now is 11:43 PM.

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