Share via

Visual Basic / Word Macro Help - Massive Multiple Word Find / Replace

Anonymous
2017-02-19T18:34:10+00:00

Hello All,

I am very new to the macro creation / Visual Basic world, but I have a great need that requires me to understand it, or at least to use a macro for this task.

I have many huge documents with similar word misspelling, errors, etc, and I believe that using a macro to find/replace multiple words at one time will be a huge help.  I'm talking about thousands of words.  I've already done one document so far, and it's taken me weeks. 

I found many sample macros on this site and through different web searches that claim to do what I need.  But I can't seem to get any of them to work.

And I think it's either because I don't know the "basics" of Visual Basic, or the code may be wrong.  (But there's no way for me to tell.)

What I would like to do is make a list, to input into a macro, of words that could possibly be among those misspelled, and another list of what they should be.  IE: List #1 would have the word "neighbour" and List #2 would have the word "neighbor".  And this list would have thousands of words.

In my desperation, I've also tried using Notepad++, but I think this is only useful up to 9 words.  :(

Anyway, if someone has any ideas, or can point me to a macro (I'm sure it's already been done) that works, I would truly be thankful.

PS. I have access to both Office 2010 and 2013.

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Paul Edstein 82,861 Reputation points Volunteer Moderator
2017-02-20T01:22:28+00:00

Something seems to have disappeared from the original code in the link. I've updated it now, so try the update.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

7 additional answers

Sort by: Most helpful
  1. Anonymous
    2017-02-20T02:26:52+00:00

    You did it!!!

    Brilliant work!

    Thanks!

    Now I will just be filling up my Excel file with more and more words.  I am extremely happy!

    Was this answer helpful?

    0 comments No comments