Share via

Line chart default settings

Anonymous
2010-10-15T14:58:39+00:00

How do I change the default line style width in a line chart from the fat 2.25 thickness to a more reasonable 1.5 thickness? Templates are not the answer since they set more than the one parameter and need to be applied each time a chart is added or changed. This makes evaluating data by changing the charted data region unusable. I want to change the fundamentaldefault setting.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2010-12-09T13:01:47+00:00

    I'm prettty sure you cannot change the default setting, but the following code changes all the series on the active chart to line thickness of 1.5.

    Sub FormatAllSeries()

        Dim SeriesNum As Series

        With ActiveChart

            For Each SeriesNum In.SeriesCollection

                SeriesNum.Format.Line.Weight = 1.5

            Next

        End With

    End Sub

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments