ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Edit multiple charts simultaneously (https://www.excelbanter.com/excel-discussion-misc-queries/107911-edit-multiple-charts-simultaneously.html)

elle0612

Edit multiple charts simultaneously
 
Hello

I would like to edit some text on the y axis of several similar charts on
separate chart sheets, is it possible to select these charts and modify the
text simultaneously for all charts selected?

Thanks

ChristopherTri

Edit multiple charts simultaneously
 
I can help you speed the process up a little...

Copy the following macro into a VBA module on the worksheet:


Sub Change_y_axis_label()
'
' Change_y_axis_label Macro
' Macro recorded 8/31/2006 by ChristopherTri
'
'
ActiveChart.Axes(xlValue).AxisTitle.Select
Selection.Characters.Text = "New Label"
End Sub


Insert the new y-axis label in place of New Label on the last line.

Select each chart, one at a time, and run the macro.

"elle0612" wrote:

Hello

I would like to edit some text on the y axis of several similar charts on
separate chart sheets, is it possible to select these charts and modify the
text simultaneously for all charts selected?

Thanks



All times are GMT +1. The time now is 07:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com