+ Reply to Thread
Results 1 to 2 of 2

Code to make a chart in 2010 does not work in 2003

  1. #1
    Registered User
    Join Date
    09-19-2011
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    32

    Code to make a chart in 2010 does not work in 2003

    I have the following code I made using Excel 2010...

    Please Login or Register  to view this content.
    I am trying to implement it in Excel 2003 and it does not work. I tried replacing "ActiveSheet.Shapes.AddChart.Select" with "Charts.Add". It would then make a chart in its own sheet instead of in the sheet I want it in. Any help in correcting what excel 2003 does not like about the above code would be appreciated.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,247

    Re: Code to make a chart in 2010 does not work in 2003

    There was no Shapes.AddChart method in 2003. Use CHarts.Add and then:
    Please Login or Register  to view this content.
    to move it to a sheet.
    Remember what the dormouse said
    Feed your head

+ 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