Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Frenchy
 
Posts: n/a
Default C# automation : coloring text with specific rgb or html color

Hi all,

I'm trying to color some text with colors that aren't defined in Word (ex
blue, dark-green,...)

To see how Word handles it I recorded a small macro, I selected a text and
colored It. Here's what It looks like;

Selection.Font.Color = 14897469

I'm trying and trying to create this number from a rgb or html color but I
can't find any function in Word or C# wich convert my colors in the Word colo
format

Any idea?
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML text in Merge Field TM360 Mailmerge 3 August 20th 05 10:41 AM
converting text from html to normal mmakis Microsoft Word Help 1 August 11th 05 06:56 PM
Finding higlights with a specific color Peter New Users 4 August 5th 05 11:26 PM
Entire doc centers or bolds when selected specific text DURBAN_VIRGO Microsoft Word Help 1 January 13th 05 10:31 AM
I'm trying to change the text shadow color from gray to a darker . Chachilynch Microsoft Word Help 2 December 21st 04 12:54 AM


All times are GMT +1. The time now is 09:29 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"