I recorded a macro to add axis titles. All of the axis titles appeared after recording the macro. The code appears below. However after recording this macro, I deleted my chart sheet, then recreate it, then tried to run my 'Add_Axis_Titles' macro. It stepped through until I got to the line:
Selection.Caption = "Battery %"
Where I got the error: Run-time error '424': Object Required
I could see where the Text box for the secondary Y axis is, and I could see where the X axis title was set to "Time", but the primary Y axis text box was nowhere to be found. I have tried moving the chart, thinking it may be out of sight, but it's not there. I have also recreated the chart and tried manually to add axis titles again, and I was able to add all of the axis titles manually. Does anyone have any Ideas about this?
So it appears there is something wrong with:
Steve
Bookmarks