font color in macro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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??!!????
 
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

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Back
Top