Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.newusers
|
|||
|
|||
find highlighted text (word 2007)
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 |
#2
Posted to microsoft.public.word.newusers
|
|||
|
|||
find highlighted text (word 2007)
You can certainly find highlighted text through the normal Find command, but
I don't see a way to find only Yellow - though some of the Gurus may know a way to do it with code. -- Terry Farrell - MSWord MVP "abc" wrote in message ... 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 |
#3
Posted to microsoft.public.word.newusers
|
|||
|
|||
find highlighted text (word 2007)
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 |
#4
Posted to microsoft.public.word.newusers
|
|||
|
|||
find highlighted text (word 2007)
Graham Mayor wrote:
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 Thanks! |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Type text in circle in Word Art in new Office 2007! Can't find... | Microsoft Word Help | |||
How to Find Highlighted Words in a Document? | Page Layout | |||
In word 2007 i can't find 'acquire text' for inserting from OCR | Microsoft Word Help | |||
word 2002- replacing highlighted text with new text | Microsoft Word Help | |||
find highlighted sections - replace with underlining | Microsoft Word Help |