h a l f b a k e r yThe best idea since raw toast.
add, search, annotate, link, view, overview, recent, by name, random
news, help, about, links, report a problem
browse anonymously,
or get an account
and write.
register,
|
|
|
|
Excellent suggestion! There is a way to do this in Word, but it is complex: |
|
|
Choose "Replace" from the "Edit" menu (or Ctrl-H)
Type the phrase to be highlighted in the "Find what:" box
Type the same phrase in the "Replace with:" box
With the cursor still blinking in the "Replace with:" box, select "Highlight" from the "Format" menu
Click "Replace All" |
|
|
Voila: all instances of the phrase highlighted. |
|
|
Macro to automate the above in Microsoft Word: |
|
|
Sub Highlighter()
myString = InputBox("Enter the string to highlight:", "Highlighter")
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = myString
.Replacement.Text = myString
.Replacement.Highlight = True
.Forward = True
.Wrap = wdFindContinue
.Format = True
End With
Selection.Find.Execute Replace:=wdReplaceAll
End Sub
|
|
| |