View Single Post
  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Herb Tyson [MVP] Herb Tyson [MVP] is offline
external usenet poster
 
Posts: 2,936
Default Count phrase that spans two lines

Glad to help. Cheers,

--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com


"Amy" wrote in message
...
Thank you! That worked.

"Herb Tyson [MVP]" wrote:

Press Ctrl+H

Set Find:Category : Fruit^pSTATUS: Open
Set Replace:^&

....and click Replace All. (Note: I probably didn't get the spacing
correct,
but the key is to separate them with ^p, which is a special character
that
means "paragraph mark" in Word search-ese. ^& is a special character
meaning
"whatever you found".

This will replace all occurrences with exactly what's there (hence, not
really changing anything), and it will report the number of "changes".

--
Herb Tyson MS MVP
Author of the Word 2007 Bible
Blog: http://word2007bible.herbtyson.com
Web: http://www.herbtyson.com


"Amy" wrote in message
...
Is there a way to count the number of occurences that spans two lines?

For example, in the document, it states:

Category : Fruit
STATUS : Open

How do I count the number of occurences in Word that display these two
lines
together?

Thank you for your help,
Amy