|
-
Feb 24th, 2005, 06:53 PM
#1
Thread Starter
Lively Member
underlining in word
i am looking for text in the word doc and then underlining it. it underlines but i cannot get the color to change from automatic this is what i am doing :
With ActiveDocument.Range.find
.Text = errortxt
.MatchWholeWord = True
.Replacement.Font.Underline = wdUnderlineWavy
'i tried this
.Font.UnderlineColor = wdColorRed
'and this
.Replacement.Font.UnderlineColor = wdColorRed
.Execute replace:=wdReplaceAll
End With
and neither work.
this works
ActiveDocument.Range.Font.UnderlineColor = wdColorRed
but that changes the colour of every underline in the document, which is not what i want
any suggestions??
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|