Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Bug in Comment.Shape.TextFrame.Characters.Font.Color in Excel 2007

Hi.
Ive found what seems to be a bug in the
Comment.Shape.TextFrame.Characters.Font.Color. The ColorIndex works fine, but
not the .Color. When setting the .Color with RGB() the result is simply
wrong. There might be a pattern but I have not researched enough to find one.
A simple test to confirm the bug is to set the Color and then read it back.

Examples:
Comment.Shape.TextFrame.Characters.Font.Color=RGB( 1,0,0) €˜becomes
RGB(0,255,255)
Comment.Shape.TextFrame.Characters.Font.Color=RGB( 65,0,0) €˜becomes
RGB(128,128,128)
Comment.Shape.TextFrame.Characters.Font.Color=RGB( 192,0,0) €˜becomes
RGB(0,128,0)

Regards,
-Terry


----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...el.programming
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can I no longer change Font colors in an Excel 2007 Comment? Jaws68 Excel Discussion (Misc queries) 1 February 28th 10 03:59 PM
Center text in a shape textframe DaveL Excel Programming 4 May 19th 08 04:50 PM
How to retrieve text from the textframe of an oval shape in Excel? Greg M[_2_] Excel Programming 2 December 18th 07 03:10 PM
Interesting problem with VBA generated textbox (or textframe of shape) length Bill Dilworth Excel Programming 3 December 22nd 05 04:09 PM
Hyperlink within the TextFrame of Shape Object..? Robert Stober Excel Programming 0 October 12th 03 10:05 PM


All times are GMT +1. The time now is 07:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"