Find and replace across multiple Word documents at once
A new charity name and address in ten templates, headers and footers included.
A real run on 13 November 2026, on a Linux computer, using Claude Code with Opus, on a Claude plan. The waiting is sped up; it took 2 min 37 s in real time.
The short answer.
Word's Replace (Ctrl+H) works on one open document at a time, and headers, footers and text boxes sometimes need their own pass. For a folder of files, open each one and run Replace All, use a VBA macro, or a paid add-in. Stella (stella.sh) changes every document in the folder on your computer, catches the name even where part of it is bold, leaves look-alike text alone and keeps a backup of the originals.
Stella does this on Windows, Mac and Linux.
What happened.
All 10 templates updated in about 2½ minutes. Checked afterwards against an answer key written before the run: the old name and address are gone from every file, headers and footers included; every paragraph reads exactly as expected with nothing else changed (Ashcombe Riverside Walk kept); and the bold “Trust” stayed bold.
The charity, its address and the ten templates are fictitious, made for this run. The work is sped up 9×.
How Stella does it.
- Copies the Templates folder to a dated backup before changing anything
- Replaces the old name, street and postcode in the body, tables, headers and footers of all 10 files, including where “Trust” was in bold inside the name
- Leaves text that only looks similar: “Ashcombe Riverside Walk car park” is a place, so it stayed
- Searches every part of every file afterwards and finds none of the old name, street or postcode left
- Lists what it didn't touch, like the charity number, and that each file's small preview image still shows the old details until Word next saves it
The prompt.
Our charity changed its name from Ashcombe Riverside Trust to Riverside Community Trust, and our address changed from 27 Weir Lane, Ashcombe AB5 2RA to 4 Mill Yard, Ashcombe AB1 2MY. Update every Word document in the Templates folder in Documents with the new name and address, including the headers and footers.
This is the exact prompt from the recording. If your files are somewhere else, say where.
Do it yourself.
Back up the folder
Copy the whole folder first. Replace All has no undo once you've saved and closed a file.
Replace in each file (Windows)
Open a document, press Ctrl+H, type the old text and the new, and click Replace All. Then double-click the header and footer and check them; if the old text is still there, run Replace All again while the cursor is in the header. Save and move to the next file.
Replace in each file (Mac)
In Word for Mac, choose Edit, Find, Advanced Find and Replace, open the Replace tab and click Replace All. Check headers, footers and text boxes the same way, then save.
Use whole phrases, not fragments
Replace the full old name, not part of it. Replacing just “Ashcombe Riverside” would also change unrelated text like a street or car park with the same words. Run a separate replacement for the street line and for the postcode if they're split over several lines.
Many files: a macro or add-in
For dozens of documents, a VBA macro that loops through a folder and runs the replacement in every story (body, headers, footers, text boxes) saves the clicking. Search “Word VBA find replace all files in folder”, test it on a copy, and keep the backup.
Where it stops.
- Text inside pictures, logos and embedded PDFs isn't changed. A letterhead image with the old address needs a new image.
- Stella replaces the exact wording you give. Abbreviations or spellings you don't list (“ART”, “Ashcombe Riverside Tst”) stay as they are, so name every variant.
- Files are changed in place, with a backup made first in this run. Ask for updated copies instead if you'd rather keep the originals where they are.
- Each Word file's small preview picture still showed the old details until the file is next saved in Word. The document itself was fully updated.
- Document text goes to the AI model you use in Stella as it checks the files. Recorded on Linux without Word; Stella edited the .docx files directly.
Questions.
Why doesn't Replace All find text I can see in the document?
Usually it's in a header, footer or text box that a body search skipped, or there's a different space or line break between the words. Search from inside the header, or search a shorter part of the phrase to find the odd character.
Will find and replace mess up my formatting?
Word keeps the formatting of the text it replaces when Format is left blank. Stella kept it too, including a bold word inside the name, so the new name looked like the old one.
Can I replace text in PDFs the same way?
Not reliably: a PDF isn't made to be edited. Turn it into a Word file first (convert PDF to Word), change it, and save a new PDF.
Can Stella rename the files as well?
Yes, ask for it. File names, folder names and the text inside are separate jobs, so say which you want changed.
Is Stella free for this?
Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.
Can I control what Stella changes on my computer?
Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.
Checked against these sources on 13 November 2026.