![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Mar 2002
Location: Northern Ireland
Posts: 113
|
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 |
|
Board Regular
Join Date: Mar 2002
Location: Little Italy
Posts: 93
|
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 |
|
Board Regular
Join Date: Mar 2002
Location: Northern Ireland
Posts: 113
|
Thank you Sbirro
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|