Global search & replace
Jan. 3rd, 2010 11:38 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Any suggestions on how to do a global search & replace on Microsoft Word docs, on a Mac? I've got over 100 files that need the same line of text replaced. I tried BBEdit, but Word didn't recognize the file afterwards.
no subject
Date: 2010-01-04 08:22 am (UTC)1. Make a backup copy of all your files. :)
2. In Finder, select all the files that you need to fix. Open them all in Word. It'll take a little while but you only have to do this once.
3. In Word, choose Edit > Replace. Notice the little arrow button next to "Replace All"? Click it to get more options.
4. You should now have an option label "Search" with a drop-down selection. Change that from "Current Document All" to "All Open Documents"
5. Replace away.
BBEdit won't work because Word expects the files to be in its format, and if you edit outside of Word's native format in a text editor, Word thinks they are corrupted. If you don't have Word for Mac, OpenOffice might work, since it can handle .doc correctly.
Good luck!
Multi-File Search and replace
Date: 2010-01-04 01:58 pm (UTC)B
no subject
Date: 2010-01-04 04:48 pm (UTC)no subject
Date: 2010-01-05 07:09 am (UTC)The only problem was that I got this warning message towards the end of opening a really big batch of files: "This document could not be registered. It will not be possible to create links from other documents to this document."
It was annoying because I had to OK each file after that point. But the replacement process still worked. Then I closed Word, reopened, and did the rest of the files with no problem.
Thanks again!
no subject
Date: 2010-01-04 04:11 pm (UTC)K.
no subject
Date: 2010-01-05 06:34 am (UTC)Pure commentary, no technical help
Date: 2010-01-05 09:30 pm (UTC)