2007 Bug? ChartTitle.Characters.Text not working

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 
Back
Top