Re: Macro to delete highlighted words
- From: Helmut Weber <red.sys@xxxxxxxxxxx>
- Date: Sat, 26 Jul 2008 09:49:20 +0200
Hi DesM,
Sub DeleteYellowHighlight()
Dim rDcm As Range
Set rDcm = ActiveDocument.Range
With rDcm.Find
.Highlight = True
While .Execute
If rDcm.HighlightColorIndex = wdYellow Then
rDcm.Delete
End If
Wend
End With
End Sub
--
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Vista Small Business, Office XP
.
- Prev by Date: Re: Macro's & Equations
- Next by Date: Re: Dealing with Tables in VBA
- Previous by thread: Re: Macro's & Equations
- Next by thread: Re: Styles
- Index(es):
Relevant Pages
|