+ Reply to Thread
Results 1 to 3 of 3

Update line chart series colors

  1. #1
    Registered User
    Join Date
    01-06-2009
    Location
    KL, Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    57

    Update line chart series colors

    Hi,

    I have a combination bar and line chart. I need to update the chart color based on the color stored at sheet1. However, i just manage to update the bar but the macro seem not working for the line.

    Please Login or Register  to view this content.
    Attached here with my sample file. I hope someone can help. Thank you very much
    Attached Files Attached Files
    Last edited by Apple Ling; 11-02-2010 at 05:10 AM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Update line chart series colors

    Two problems with the code.
    First the mis spelling of a variable name meant not line formatting was being done. You had MyColor instead of MyColour.
    Once that is corrected you need to change the border property for lines not the fill.

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    01-06-2009
    Location
    KL, Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    57

    Re: Update line chart series colors

    Thank you very much

+ 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