View Single Post
  #6   Report Post  
Karunakar
 
Posts: n/a
Default

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

"Klaus Linke" wrote:

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



"Karunakar" wrote:
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