Upon opening my excel spreadsheet, I want to have all the charts in a worksheet look the same. I can get the chart to size but not the plot area. Here is what I have so far:
Sub testchartsize()
Dim iChtIx As Long, iChtCt As Long
Sheets("Figs").Activate
iChtCt = ActiveSheet.ChartObjects.Count
For iChtIx = 1 To iChtCt
With ActiveChart
.PlotArea.Height = 400
.PlotArea.Width = 600
With ActiveSheet.ChartObjects(iChtIx)
.Height = 430
.Width = 660
End With
End With
Next
End Sub
Any help is worth a star!!
Thanks in advance.
Chilly442
Sub testchartsize()
Dim iChtIx As Long, iChtCt As Long
Sheets("Figs").Activate
iChtCt = ActiveSheet.ChartObjects.Count
For iChtIx = 1 To iChtCt
With ActiveChart
.PlotArea.Height = 400
.PlotArea.Width = 600
With ActiveSheet.ChartObjects(iChtIx)
.Height = 430
.Width = 660
End With
End With
Next
End Sub
Any help is worth a star!!
Thanks in advance.
Chilly442