Formatting Lines in combination charts
Prep for a pre-employment Excel test with Job Test Prep
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Formatting Lines in combination charts

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Location
    Northern Ireland
    Posts
    113
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I create a couple of graphs using macros, they are combination graphs (area and Line).
    In the macro, I wish to be able to format the line to a thicker line or perhaps broken line.
    I tried to record this process but it doesn't seem to work.
    Any suggestions please, and again thank you.

  2. #2
    Board Regular
    Join Date
    Mar 2002
    Location
    Little Italy
    Posts
    93
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    The code for making SeriesCollection(1)-line thick and dotted would look like this:

    With ActiveChart.SeriesCollection(1).Border
    .ColorIndex = 57
    .Weight = xlThick
    .LineStyle = xlDot
    End With

    So use it with any SeriesCollection by changing the index. Does this help you?


  3. #3
    Board Regular
    Join Date
    Mar 2002
    Location
    Northern Ireland
    Posts
    113
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Thank you Sbirro

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com