Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Lewis Evans   on Jan 30 In MS Office Category.

  
Question Answered By: Bin Fischer   on Jan 30

The following code  hasn't been tested, but you shouldget the drift.

Public Sub OneAxis_BodyExpCharts()

Dim Chart1 As Object

On Error Resume Next

If ActiveSheet.Name = SHEET_BODY_EXP Then
For Each Chart1 In Sheets(SHEET_BODY_EXP).ChartObjects
If Chart1.SeriesCollection(2).AxisGroup = 2 Then
With Chart1.SeriesCollection(2)
.AxisGroup = 1
.ChartType = xlColumnClustered
End With
End If
Next Chart1
End If

End Sub

Share: