Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Eric Eric is offline
external usenet poster
 
Posts: 235
Default how do I find and list all highlighted words in Word 2003?

working on a school paper.
need to highlight words in paper, which I did.
now need to list these highlighted words as "Themes Included" at the end of
the paper.

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default how do I find and list all highlighted words in Word 2003?

In the Find dialog, click the More button and choose Format | Highlight
(leave the "Find what" box empty). Check the box for "Highlight all items
found in: Main document." Then click Find All. This will select all the
highlighted words. Click on the title bar of the document to return focus to
the document without deselecting the selected items and press Ctrl+C to
copy. Then Ctrl+V to paste the selections at the end of the document.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Eric" wrote in message
...
working on a school paper.
need to highlight words in paper, which I did.
now need to list these highlighted words as "Themes Included" at the end
of
the paper.



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default how do I find and list all highlighted words in Word 2003?


In the Find dialog, click the More button and choose Format | Highlight
(leave the "Find what" box empty). Check the box for "Highlight all items
found in: Main document." Then click Find All. This will select all the
highlighted words. Click on the title bar of the document to return focus to
the document without deselecting the selected items and press Ctrl+C to
copy. Then Ctrl+V to paste the selections at the end of the document.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Eric" wrote in message
...
working on a school paper.
need to highlight words in paper, which I did.
now need to list these highlighted words as "Themes Included" at the end
of
the paper.



  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default how do I find and list all highlighted words in Word 2003?

While Suzanne's suggestion is simple and effective, the following macro will
extract all the highlighted entries by colour to a new document
http://www.gmayor.com/installing_macro.htm

Sub ExtractHiLight()
Dim FirstFind As Boolean
Dim rDcm As Range
Dim lClr As Long ' color index
Dim sCol As String
Dim Doc1 As Document
Dim Doc2 As Document
If ActiveDocument.Content.HighlightColorIndex 0 Then
Set Doc1 = ActiveDocument
Set Doc2 = Documents.Add
Doc1.Activate
For lClr = 1 To 16
FirstFind = True
Select Case lClr
Case 1
sCol = "Black"
Case 2
sCol = "Blue"
Case 3
sCol = "Turquoise"
Case 4
sCol = "Bright green"
Case 5
sCol = "Pink"
Case 6
sCol = "Red"
Case 7
sCol = "Yellow"
Case 8
sCol = "White"
Case 9
sCol = "Dark blue"
Case 10
sCol = "Teal"
Case 11
sCol = "Green"
Case 12
sCol = "Violet"
Case 13
sCol = "Dark red"
Case 14
sCol = "Dark yellow"
Case 15
sCol = "50% gray"
Case 16
sCol = "25% gray"
End Select
Set rDcm = Doc1.Range
With rDcm.Find
.Highlight = True
While .Execute
If rDcm.HighlightColorIndex = lClr Then
If FirstFind Then
Doc2.Range.InsertAfter sCol & vbCr
FirstFind = False
End If
Doc2.Range.InsertAfter vbTab & rDcm.Text & vbCr
End If
Wend
End With
Next
Else
MsgBox "No Highlighting found."
End If
End Sub

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


"Eric" wrote in message
...
working on a school paper.
need to highlight words in paper, which I did.
now need to list these highlighted words as "Themes Included" at the end
of
the paper.



  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default how do I find and list all highlighted words in Word 2003?


While Suzanne's suggestion is simple and effective, the following macro will
extract all the highlighted entries by colour to a new document
http://www.gmayor.com/installing_macro.htm

Sub ExtractHiLight()
Dim FirstFind As Boolean
Dim rDcm As Range
Dim lClr As Long ' color index
Dim sCol As String
Dim Doc1 As Document
Dim Doc2 As Document
If ActiveDocument.Content.HighlightColorIndex 0 Then
Set Doc1 = ActiveDocument
Set Doc2 = Documents.Add
Doc1.Activate
For lClr = 1 To 16
FirstFind = True
Select Case lClr
Case 1
sCol = "Black"
Case 2
sCol = "Blue"
Case 3
sCol = "Turquoise"
Case 4
sCol = "Bright green"
Case 5
sCol = "Pink"
Case 6
sCol = "Red"
Case 7
sCol = "Yellow"
Case 8
sCol = "White"
Case 9
sCol = "Dark blue"
Case 10
sCol = "Teal"
Case 11
sCol = "Green"
Case 12
sCol = "Violet"
Case 13
sCol = "Dark red"
Case 14
sCol = "Dark yellow"
Case 15
sCol = "50% gray"
Case 16
sCol = "25% gray"
End Select
Set rDcm = Doc1.Range
With rDcm.Find
.Highlight = True
While .Execute
If rDcm.HighlightColorIndex = lClr Then
If FirstFind Then
Doc2.Range.InsertAfter sCol & vbCr
FirstFind = False
End If
Doc2.Range.InsertAfter vbTab & rDcm.Text & vbCr
End If
Wend
End With
Next
Else
MsgBox "No Highlighting found."
End If
End Sub

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


"Eric" wrote in message
...
working on a school paper.
need to highlight words in paper, which I did.
now need to list these highlighted words as "Themes Included" at the end
of
the paper.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I find duplicated words in a list in Word? Suebob1 Microsoft Word Help 4 July 7th 09 03:31 PM
I would like to find and replace a list of words with numbers checkQ Microsoft Word Help 6 October 2nd 08 07:39 PM
How to Find Highlighted Words in a Document? e125 Page Layout 3 September 7th 08 01:09 AM
How can I find if there are doubles in my list of words? Rhen Microsoft Word Help 3 June 9th 05 05:12 AM
how do I find repeating words in a list wendyp Microsoft Word Help 5 June 4th 05 06:52 PM


All times are GMT +1. The time now is 09:46 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"