Re: find highlighted text (word 2007)
- From: "Graham Mayor" <gmayor@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 9 Feb 2009 17:09:50 +0200
You'll need a macro e.g.
Sub FindYellowHiLite()
Dim orng As Range
With Selection.Find
.Highlight = True
While .Execute
Set orng = Selection.Range
If orng.HighlightColorIndex = wdYellow Then
orng.Select
Exit Sub
End If
Wend
End With
End Sub
If you start with the cursor at the beginning it will select the next yellow
highlight each time the macro is run.When it runs out of yellow highlights
it will stop at the next highlight of whatever colour and go no further.
http://www.gmayor.com/installing_macro.htm
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
abc wrote:
hi all
is there a way to find highlighted text in word 2007?
Example: I have a 1,000 pages document where I highlighted text in
different colors. Now I want to sequentially find all text that I
highlighted with yellow (not with other colors). How can I do that?
thanks
.
- Follow-Ups:
- Re: find highlighted text (word 2007)
- From: abc
- Re: find highlighted text (word 2007)
- References:
- find highlighted text (word 2007)
- From: abc
- find highlighted text (word 2007)
- Prev by Date: Re: find highlighted text (word 2007)
- Next by Date: Re: find highlighted text (word 2007)
- Previous by thread: Re: find highlighted text (word 2007)
- Next by thread: Re: find highlighted text (word 2007)
- Index(es):
Relevant Pages
|