How many "THE"s are in my document?

  • Thread starter Thread starter SF
  • Start date Start date
SF was telling us:
SF nous racontait que :
How can I count the number of times a particular word appears in my
document?

Quick and dirty:

Find/Replace:
Find what: the
(Make sure to check the "Whole word" checkbox)
Replace with: Anything, it does not matter.
Hit "Replace All"

Then a dialog shows up telling you how many occurrences where replaced (i.e
How many "Find what" expressions)

Click OK
When back in your document, do CTRL-Z immediately to undo the Find/Replace


--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
Jean-Guy Marcil said:
SF was telling us:
SF nous racontait que :


Quick and dirty:

Find/Replace:
Find what: the
(Make sure to check the "Whole word" checkbox)
Replace with: Anything, it does not matter.
Hit "Replace All"

Then a dialog shows up telling you how many occurrences where
replaced (i.e How many "Find what" expressions)

Click OK
When back in your document, do CTRL-Z immediately to undo the
Find/Replace

If you use ^& as the replace string, Word will simply put back the word it
found, so undo becomes unnecessary.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
....
: > Click OK
: > When back in your document, do CTRL-Z immediately to undo the
: > Find/Replace
:
: If you use ^& as the replace string, Word will simply put back
the word it
: found, so undo becomes unnecessary.
:
....
Huh, I was going to suggest something like that; then I saw your
post.

Works good, lasts long time: but, why would ^& be better than
simply doing a copy/paste and putting the same word in the
Replace With?

Just curious; I like to know other's opinoins and reasons for
things besides how they work.

Thanks: Gotta go see what ^& is all about now

PopS
 
Thanks, Jay. That's exactly what I was looking for!

I know (intellectually) that doing a find/replace and then UN-doing it
results in essentially no change, but my heart worries because the fact is
that something WAS changed, and then put back. However irrational it may
seem, I don't like doing and undoing dozens of changes in a very, very
important document. It's just unnerving. Sorry.

I'll go with a regular count, thank you. (Even if it does take longer. I'll
sacrifice a few seconds in order to keep peace of mind.)

Thank you all.
 
I know (intellectually) that doing a find/replace and then UN-doing it
results in essentially no change, but my heart worries because the fact is
that something WAS changed, and then put back. However irrational it may
seem, I don't like doing and undoing dozens of changes in a very, very
important document. It's just unnerving. Sorry.

I'll go with a regular count, thank you. (Even if it does take longer. I'll
sacrifice a few seconds in order to keep peace of mind.)

Thank you all.
--
Greetings--
In Word 2003, the Find dialog (Ctrl+F) has a ´Find and Select All¡ command.
It will tell you how many instances of the search string it found (and
selected).
Cheers
Robert
 
Graham Mayor was telling us:
Graham Mayor nous racontait que :
If you use ^& as the replace string, Word will simply put back the
word it found, so undo becomes unnecessary.

Duh!
Thanks!

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
Can you tell me where to find that? I can find a 'replace all' but no 'find
all'. Thanks.

Suzan
 
Suzan was telling us:
Suzan nous racontait que :
Can you tell me where to find that? I can find a 'replace all' but no
'find all'. Thanks.

Suzan

From the "Find" dialog, you have to first check the "Highlight all items
found in:", then choose "Main document". Once you do that you will see that
the "Find" button becomes "Find All." Click on "Find All," then Word will
report how many items were found right inside the "Find" dialog box, above
the three buttons.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
Merci - this will be very handy!

Suzan

Jean-Guy Marcil said:
Suzan was telling us:
Suzan nous racontait que :


From the "Find" dialog, you have to first check the "Highlight all items
found in:", then choose "Main document". Once you do that you will see that
the "Find" button becomes "Find All." Click on "Find All," then Word will
report how many items were found right inside the "Find" dialog box, above
the three buttons.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
It also protects against the eventuality of mistyping in the "Replace with"
box.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Back
Top