2007 Bug? ChartTitle.Characters.Text not working
I have a small macro that works in Office 2003 and XP, but generates error
445 (Object doesn't support this action) in 2007. If I replace ChartTitle.Characters.Text with ChartTitle.Text, then it works. Here is the snip with that code. With ActiveChart .HasTitle = True .ChartTitle.Characters.Text = "Data" .Axes(xlCategory, xlPrimary).HasTitle = True .Axes(xlCategory, xlPrimary).AxisTitle.Characters.Text = "time" .Axes(xlValue, xlPrimary).HasTitle = True .Axes(xlValue, xlPrimary).AxisTitle.Characters.Text = "volts" End With |
2007 Bug? ChartTitle.Characters.Text not working
Yes - and the good news is that works all the way back to Office 97. However,
if this isn't a bug or isn't fixed in 2007, I expect to see a lot of Office code breaking - this is a common statement if you google it. " wrote: I took ".Characters." out and it seemed to work for chart and axes titles. |
All times are GMT +1. The time now is 06:47 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com