font color in macro

G

Glenn

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

Graham Mayor

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top