+ Reply to Thread
Results 1 to 2 of 2

Macro to change the appearance of individual chart series

  1. #1
    Registered User
    Join Date
    11-23-2012
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    12

    Macro to change the appearance of individual chart series

    I'm attempting to make a macro that would change the appearance of chart series. I need to change the series to be the same color in triplicates (with different markers for each 3), so a macro I found here for modifying ALL series doesn't work here.

    Here are my questions:
    1) Can the marker style be set as one style for series 1,4,7,10,13,16,...; a second style for series 2,5,11,14,17... and a third style for series 3,6,12,15,18... and how? So there would only be 3 parts to be changed if a change in the marker style was needed. I now sort of came up with a simple working core that I think I will use to expand. I at least figured out the 'working in sets of 3' part, but not how to specify which series to edit instead of a range (for the marker styles).

    2 a) Is there a way to make the marker fill color check what color is set as the series line color and set the same marker fill color automatically?
    2 b) (Depending on the approach) Is it possible to make a reference that would work from another macro?

    3) There will be an error if there aren't as many series as my macro is trying to edit. Is the only prevention adding On error (do something)-statements before every new (For X = a to b) "block"?


    This is the stuff I'm thinking of expanding on:
    Please Login or Register  to view this content.
    Last edited by Equipoise; 12-20-2012 at 05:30 PM. Reason: Processing further

  2. #2
    Registered User
    Join Date
    11-23-2012
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Macro to change the appearance of individual chart series

    Sort of bump, I've edited the first post.

    The biggest issue here is how to do the part to set attributes for certain series, as "For X = 1,2,3" can't be done in any form (with a For -statement)?

+ 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