Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default ChartObject Name Restricion or Excel Bug

I have created a ChartObject with a name that contains a dash ('-'). That
works fine. However, when I try accessing by name, I get a 1004 error
message. This tells me that a dash is not allowed in a ChartObject name. If
I create the ChartObject using a space instead of a dash, everything works
fine. An example statement that fails is as follows:

Sheets("sheetName").ChartObjects("ABC-DEF").Delete

My questions a Is this a bug in Excel? If not, what are the
restrictions on ChartObject names? I can't find any documentation on this in
the help. Also, are their other objects with such name restrictions?

Thanks in advance for your help.


Regards,

Gaston

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete old chartobject and create a new named one? tskogstrom Charts and Charting in Excel 2 October 22nd 06 01:30 PM
Selecting chartobject without index no. Jaylin Charts and Charting in Excel 4 August 24th 06 04:31 PM
Fill screen with chartobject by zooming? Gunnar Johansson Charts and Charting in Excel 1 December 15th 04 03:41 AM
How can I change size of the picture without changing chartobject? Marie J-son[_4_] Excel Programming 1 December 6th 04 04:22 AM
ChartObject index Claude Excel Programming 3 January 30th 04 09:33 PM


All times are GMT +1. The time now is 10:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"