+ Reply to Thread
Results 1 to 4 of 4

How to change the slice color of a pie chart in the older version of Excel

  1. #1
    Registered User
    Join Date
    12-03-2012
    Location
    Canada
    MS-Off Ver
    Access 2007 Excel 2007
    Posts
    48

    How to change the slice color of a pie chart in the older version of Excel

    Hello everybody,

    I have an annoying problems with Excel versions. I have Excel 2007 on my workstation, but I'm editing an old Ms Access Database who are calling an old version of Excel. I want to select the colors from my SeriesCollection, but the code I have seen for newer version isn't working for me in my old database. It's working well in Excel 2007 :

    How can I do the same thigs as the following code in Excel 2002 ?

    Please Login or Register  to view this content.
    I've seen other examples, but so far none are working. I'll continue to search a solution.

    Thank you !
    Last edited by dagagnon; 03-08-2013 at 12:23 PM.

  2. #2
    Registered User
    Join Date
    12-03-2012
    Location
    Canada
    MS-Off Ver
    Access 2007 Excel 2007
    Posts
    48

    Re: How to change the slice color of a pie chart in the older version of Excel

    Please Login or Register  to view this content.
    I must do something like that,but the DataLabel does not work, how can I see the name of the point ?
    Last edited by dagagnon; 03-06-2013 at 03:06 PM.

  3. #3
    Registered User
    Join Date
    12-03-2012
    Location
    Canada
    MS-Off Ver
    Access 2007 Excel 2007
    Posts
    48

    Re: How to change the slice color of a pie chart in the older version of Excel

    An other update, I was able to do the following code and it's working well with pie charts :

    Thanks to Andy Pope for the tip he made in an other thread.

    Please Login or Register  to view this content.
    This is working fine, but when I add anything else in my sub it stop working. I don't understand.

    Now, I must do the same thing with line charts but my solution is not working and I still don't understand :

    Please Login or Register  to view this content.
    This is weird because it does not made any error.
    Last edited by dagagnon; 03-06-2013 at 03:08 PM.

  4. #4
    Registered User
    Join Date
    12-03-2012
    Location
    Canada
    MS-Off Ver
    Access 2007 Excel 2007
    Posts
    48

    Re: How to change the slice color of a pie chart in the older version of Excel

    New update :

    The problem was that the chart was simply not updated, I had to force the application to redraw the chart by using the visibility options.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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