![]() |
|
#1
|
|||
|
|||
![]() Good Morning, As a very rusty VBA person, I am looking for some support with a script that will: Open multiple Word documents in multiple folder locations - all the files are within a folder hierachy, so selecting the top folder will work for my purposes if it applies to all subfolders. Replace specific words in all the documents. I have a list of about 20 words that I need to replace with alternatives. The replacement words must match the case of the replacement word and not the case of the current word. No wildcards needed. Save documents - no need to save in alternative place. I can find scripts that almost do what I need, but would be grateful for any experts getting me the full way. Thanks in advance. |
#2
|
||||
|
||||
![]()
To which scripts are you referring and in what sense do they 'almost' do what you need?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
Hi Paul,
I can find scripts that allow one word at a time over documents saved in the same folder, but where these fail is that I can't get the script to do multiple words or to automatically pick up all word documents in subfolders. Thanks, Ben |
#4
|
||||
|
||||
![]()
See, for example: https://www.msofficeforums.com/word-...html#post70765
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
||||
|
||||
![]()
See the use of table pairs at
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#6
|
|||
|
|||
![]()
Thank you both for your useful replies. I think I'm sorted now.
Ben |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to do multiple find and replace in string. | PRA007 | Word VBA | 2 | 01-06-2016 09:10 PM |
Find and Replace multiple table columns | smakdown61 | Word | 1 | 08-28-2014 09:24 PM |
![]() |
Ineedhelp! | Word | 3 | 03-04-2014 03:50 PM |
![]() |
redzan | Word VBA | 1 | 05-16-2013 08:25 AM |
![]() |
jcw | Word | 1 | 11-18-2011 11:47 AM |