Ms Word Find All option in vba Macro

K

Karunakar

Hi ,

i want bulit-in macro for Find all functionality in ms word to make my
application fast. now i written find.execute method in do while loop. but it
is very slow for more than 200 docs.

urgent....

Thank you.

Karunakar Gadde
 
C

Charles Kenyon

Have you looked at http://word.mvps.org/FAQs/MacrosVBA/BatchFR.htm?
--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
K

Karunakar

Hi Charles,

Yes, but i want only find all numeric words in document. i don;t want
replace all functionality.

Thanks for your help.

Karunakar Gadde
 
K

Karunakar

Hi Charles,

Yes, but i want to find all numeric words in word document. i don;t want
replace all functionality.

Thanks for your help.

Karunakar Gadde
 
K

Klaus Linke

Hi Karunakar,

Can you give some numbers? Opening and closing a document will need a bit of time, say, half a second for a small doc, and much longer if you have multi-megabyte files.
With 200 documents, that can add up to some minutes or even hours, and there probably isn't too much you can do about it.

Sometimes documents on a network server take much longer to open... Maybe that's the problem you are running into?

Making things easy for Word (open the files with .Visible:=False, Normal view, no spell checker, perhaps draft mode) might speed things up a little bit. If you change settings in the document, don't forget to remember the original settings and reset them before you save the document, so the next person that opens the doc isn't annoyed by them.

Of course, if you have several finds, do them all before opening the next doc. That is, don't do Find A in all docs, then Find B in all docs, ....

Greetings,
Klaus
 
K

Karunakar

Hi ,
i have to count numerals, numeric words , tabs , spaces in word document. i
have to do this opetaions more than 200 docs. pleas help. to make things fast
and accurate.

Karunakar
 

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