2007 Bug? ChartTitle.Characters.Text not working

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
 
G

Guest

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.
 

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

Similar Threads


Top