#1   Report Post  
Glenn
 
Posts: n/a
Default font color in macro

I am editing a macro-Visual Basic-and while using replacement programming
statement cannot seem to force a font color change on replaced text
Following a .Replacement.Text line I have used:
.Replacement.Font.Color = (autoselect) as well as .Font.Color......
any suggestions??!!????
  #2   Report Post  
Graham Mayor
 
Posts: n/a
Default

You need
..Replacement.Font.Color = wdColorAutomatic
for automatic or
..Replacement.Font.Color = wdColorBlack
for black.
When you type the = after Color, you get a list of colour choices.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




Glenn wrote:
I am editing a macro-Visual Basic-and while using replacement
programming statement cannot seem to force a font color change on
replaced text Following a .Replacement.Text line I have used:
.Replacement.Font.Color = (autoselect) as well as .Font.Color......
any suggestions??!!????



Reply
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
font color in macro gstraube Microsoft Word Help 0 January 30th 05 04:43 PM
Default font - possible bulletproof fix in Word 2003 [email protected] Microsoft Word Help 0 January 14th 05 09:14 PM
Default font on envelope address Marcia Microsoft Word Help 1 January 5th 05 11:13 PM
Save As is not working due to macro security settings Craig Meritz Microsoft Word Help 1 December 16th 04 03:53 AM
2000 to 2002 macro and "Could not open macro storage" Art Farrell Mailmerge 1 December 6th 04 12:40 PM


All times are GMT +1. The time now is 04:13 PM.

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"