underline with color

S

sarah

I am trying to underline with a wavy coloured line however the wavy line is
appearing but there it is gray and no matter what colour i use it is always
gray. Here is the code i am using :

font.UnderlineColor = wdColorTurquoise

Any ideas why this is happening?
 
J

Jean-Guy Marcil

sarah was telling us:
sarah nous racontait que :
I am trying to underline with a wavy coloured line however the wavy
line is appearing but there it is gray and no matter what colour i
use it is always gray. Here is the code i am using :

font.UnderlineColor = wdColorTurquoise

I am not sure, not seeing the rest of the code... it could be any number of
things...

Here, this code works as expected:

With Selection.Font
.Underline = wdUnderlineWavyHeavy
.UnderlineColor = wdColorTurquoise
End With

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

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