Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to do a series of find and replace operations. Unfortunately, the documents I have to work on are in Word (.docx) format so I cannot script this. These are book chapters so formatting is important (italics, bold, indentation, fonts), I cannot simply convert to plain text.

Say I have a list of (about 20 different) words as follows:


The replacement I need to do is to add accents so I would have a list of replacements like this:


Is there a way I can automate this in Word? I would be happy to use another piece of software. I would be even happier if I could do this on Linux using scripting tools (but I guess this is wishful thinking). I have access to Linux and Windows systems, MS Word and LibreOffice.

share|improve this question
up vote 3 down vote accepted

I found this thread in which a macro that does more or less what you need is suggested. Perhaps that will help.

share|improve this answer
@terdon Thanks for the edit. That's far more simple. I would like to talk to you some time. – Griffin Feb 19 '13 at 0:34

protected by Community May 8 '15 at 13:58

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.