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
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top