Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change from under to highlight

Status
Not open for further replies.

richiwatts

Technical User
Jun 21, 2002
180
GB
How to I change this:

I changed one of my search and replace macros from

.Replacement.Font.Underline = wdUnderlineWavy
to
.Replacement.Highlight = True

And then on another Macro I have

If Selection.Font.Underline <> wdUnderlineWavy Then

How do i chnage this so that it does the same for the highlighted text? I tried

If Selection.Highlight <> True Then
But this didn't work. What do I need to do
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top