Batch find and replace

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have found the article on how to run a batch replaceall, but what I need to
do is to write the code so it opens all of the files in one folder runs a
prewritten find and replace macro, saves it then closes it, then moves on to
the next .txt file in the folder.
 
Will this method only work on 2003? I am having issues using this macro on
2002. Once i create it and use it, and close word. I can no longer open word
until i delete the normal.dot so that it recreates itself. ( i can open
word, but only in safe mode.) Any suggestions? thanks.
 
I need ‘find’ to find me all words which are not exactly the same but are
closed, I am using xp ms2003
Plse help me in this
Thank you
 
I need ‘find’ to find me all words which are not exactly the same but are
closed, I am using xp ms2003
Plse help me in this
Thank you

The only built-in capability of this kind in Word is "fuzzy searching"
that is available only for the Japanese language. (I don't know why it
isn't available for any other languages.)

The Find dialog has options to do "sounds like" searching or searches
for all forms of a word (for example, search for "jump" and find
"jumps" and "jumping"). To access these options, click the More
button.

You may be able to make a macro to do a more complicated search, but
only if you're able to define in specific terms how you define
"close". The idea is to use a wildcard search to find all words
containing certain combinations, and then use If statements or Select
Case statements to determine whether the found text is "close enough".
If you want to discuss this further, please post in one of the
newgroups whose names start with microsoft.public.word.vba -- that
topic is not appropriate in this newsgroup.
 
Back
Top