Autoscaling Mulitple Axes

  • Thread starter Thread starter cdegar01
  • Start date Start date
C

cdegar01

I have many charts that have two horizontal and two vertical axes. I a
having a problem with "no new fonts may be applied to this workbook."

Does anyone know how to edit this macro so that it will disabl
autoscale for all four axes?

Thanks,

Chris


Sub DisableFontAutoscalingAllCharts()
' Disable Font Autoscaling on All Charts on Active Sheet
Dim myCht As ChartObject
For Each myCht In ActiveSheet.ChartObjects
myCht.Chart.ChartArea.AutoScaleFont = False
Next
End Su
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top