Find All

C

Conan Kelly

Hello all,

I noticed, by recording macros, that there isn't alot of difference,
code wise, between finding one occurence of a word and finding all.
When I "Find All", MS Word counts the number of occurences and tells
me how many there are.

Can I take that count, assign it to a variable, and then use it in
loop to run a code a set number of times?

Thanks for any help anyone can provide,

Conan Kelly
 
J

Jean-Guy Marcil

Conan Kelly was telling us:
Conan Kelly nous racontait que :
Hello all,

I noticed, by recording macros, that there isn't alot of difference,
code wise, between finding one occurence of a word and finding all.
When I "Find All", MS Word counts the number of occurences and tells
me how many there are.

Can I take that count, assign it to a variable, and then use it in
loop to run a code a set number of times?

I think that if you want concrete help, you will have to be a bit more
explicit...

Tell us what you are trying to achieve and post any relevant code you may
have.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
[email protected]
Word MVP site: http://www.word.mvps.org
 
Top