PC Review


Reply
Thread Tools Rate Thread

2007 Bug? ChartTitle.Characters.Text not working

 
 
=?Utf-8?B?THljYW5nZWVr?=
Guest
Posts: n/a
 
      8th Jun 2006
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

 
Reply With Quote
 
 
 
 
bwillis88@gmail.com
Guest
Posts: n/a
 
      21st Jun 2006
I took ".Characters." out and it seemed to work for chart and axes
titles.

 
Reply With Quote
 
=?Utf-8?B?THljYW5nZWVr?=
Guest
Posts: n/a
 
      21st Jun 2006
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.

"(E-Mail Removed)" wrote:

> I took ".Characters." out and it seemed to work for chart and axes
> titles.
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updated Charttitle not working in Access 2007 hotplate Microsoft Access Forms 6 7th May 2010 01:32 PM
Excel 2007: get formula from charttitle be_675@hotmail.com Microsoft Excel Charting 1 7th Feb 2008 06:40 PM
Unable to set text property of the Charttitle class Laurel Microsoft Access Form Coding 14 25th Jun 2007 03:33 AM
Charttitle.Text crashes (Excel 2000) blackno666 Microsoft Excel Discussion 1 9th Nov 2006 10:16 AM
VBA: Can't set ChartTitle.Text?? Ed Microsoft Excel Charting 1 3rd Oct 2006 11:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:05 PM.