View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Peter T Peter T is offline
external usenet poster
 
Posts: 5,600
Default 2 fonts in Chart title in E2007

It works for me in 2007, post your actual code.

Regards,
Peter T

"J Streger" wrote in message
...
We are tranferring code from 2003 to 2007 and noticed a change in how VBA
reads the following line:

ActiveChart.ChartTitle.Characters(5,2).Font.Color = vbred

IN 2003, it reads it correctly coloring letters 5 & 6 red.
in 2007, it colors the whole Chart title red.

It seems that regardless of the start and length I pass into the
characters
function, the formatting occurs to the entire chart title, not just the
characters I wanted.

Even recording the VBA in 2007 yields no help as it cannot record the
partial font change, even though the GUI allows it. IN 2003 you can record
the partial font change.

Any ideas on what's happening here?


--
*********************
J Streger
MS Office Master 2000 ed.
MS Project White Belt 2003

User of MS Office 2003