topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 9:34 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Replace any string (even several lines) in multiple word files  (Read 3458 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Replace any string (even several lines) in multiple word files ?

is it possible ?

replace a string in multiple word files ( files in a folder, files in several folders....)

I tried with Inforapid Search & Replace, but is not able with binary files.

Have you tried with success anyone else ?

Best Regards

Note : I think this feature is not in the official microsoft website
for the last versions. I am using word 2010


ayryq

  • Supporting Member
  • Joined in 2009
  • **
  • Points: 101
  • Posts: 289
    • View Profile
    • Donate to Member
Re: Replace any string (even several lines) in multiple word files
« Reply #1 on: June 02, 2015, 01:01 PM »
Here's a VB script that might do it. Can't test it, sorry:

http://www.extendoff...-multiple-files.html

Here's a different one

http://www.word.mvps...acrosVBA/BatchFR.htm

And there's a $20 app in the windows store called "Global Office Find And Replace"

If you're willing to try LibreOffice, there's an extension that has a "Batch mode" find and replace that can be used on multiple files at once (button labeled "multiple execute"). It's quite a complicated extension but may be worth figuring out if you need to do this often.

EDIT: I should add that the extension referenced above has built-in support for line breaks. It also has a macro language that can be used for very complicated operations: one of the demos adds HTML tags to a document (e.g. text that is formatted bold in the document has < b > tags put around it)

Eric

ayryq

  • Supporting Member
  • Joined in 2009
  • **
  • Points: 101
  • Posts: 289
    • View Profile
    • Donate to Member
Re: Replace any string (even several lines) in multiple word files
« Reply #2 on: June 02, 2015, 01:05 PM »
Double post, sorry

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Replace any string (even several lines) in multiple word files
« Reply #3 on: June 03, 2015, 06:26 PM »
Beautiful nose Eric.

Good information to explorer.
Best Regards
 :tellme:

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 3,199
    • View Profile
    • Donate to Member

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Replace any string (even several lines) in multiple word files
« Reply #5 on: June 10, 2015, 10:28 AM »
Text Workbench

Running to explore