Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
amy amy is offline
external usenet poster
 
Posts: 113
Default Count phrase that spans two lines

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

  #2   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

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


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
amy amy is offline
external usenet poster
 
Posts: 113
Default Count phrase that spans two lines

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



  #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




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 count the number of lines of a selection? Ray Microsoft Word Help 1 September 1st 08 12:51 AM
How do I count the lines with characters only? Shannon Microsoft Word Help 2 July 21st 06 11:56 AM
How do I set up Word to not count blank lines? Don't want to count blank lines. Microsoft Word Help 2 October 30th 05 03:10 PM
How do I stop a phrase from being broken across two lines? Amanda Llewellyn Microsoft Word Help 5 May 19th 05 02:19 PM
Change Line Count to not count blank lines Carol Microsoft Word Help 4 November 27th 04 01:46 PM


All times are GMT +1. The time now is 12:43 PM.

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

About Us

"It's about Microsoft Word"