Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 10, 2016, 02:23:46 PM
  • Proudly celebrating 10 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 1368 times)

Contro

  • Participant
  • Joined in 2007
  • *
  • Posts: 2,619
    • 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: 223
    • View Profile
    • Donate to Member
Re: Replace any string (even several lines) in multiple word files
« Reply #1 on: June 02, 2015, 01:01:44 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: 223
    • View Profile
    • Donate to Member
Re: Replace any string (even several lines) in multiple word files
« Reply #2 on: June 02, 2015, 01:05:20 PM »
Double post, sorry

Contro

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

Good information to explorer.
Best Regards
 :tellme:

rjbull

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

Contro

  • Participant
  • Joined in 2007
  • *
  • Posts: 2,619
    • View Profile
    • Donate to Member