+ Reply to Thread
Results 1 to 4 of 4

ActiveChart.Name wont work.....

  1. #1
    Registered User
    Join Date
    02-02-2007
    Posts
    35

    ActiveChart.Name wont work.....

    Please Login or Register  to view this content.
    The last command wont name the chart, any ideas?

    Thanks
    Last edited by VBA Noob; 11-16-2007 at 02:24 PM.

  2. #2
    Registered User
    Join Date
    02-02-2007
    Posts
    35
    I've worked out why it doesn't work but I dont know the solution.

    Following on from the code above I then have this line:

    Please Login or Register  to view this content.
    Which reverts the name of the chart back to whichever chart number its on.

    Any ideas how to get around this?
    Last edited by VBA Noob; 11-16-2007 at 02:24 PM.

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello chedges,

    It isn't clear to me what your problem is. Did you receive an error message or did the code fail to produce the chart?

    Sincerely,
    Leith Ross

  4. #4
    Registered User
    Join Date
    02-02-2007
    Posts
    35
    the code stops when it get to a line which uses the chart name.

    In several lines I reference the chart, however each time the macro is run and a chart is produced the name changes.

    Therefore to get around this, I name the chart as soon as it is created. But this line mentioned above seems to revert the chart back to its original name (eg Chart9)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1