![]() |
#2
|
||||
|
||||
![]()
Yes, it's possible. It's essentially a matter of adding the requisite code to a Document_Open sub. For example:
Code:
With ActiveDocument.Content.Find .ClearFormatting .Replacement.ClearFormatting .Text = "monitor" .Replacement.Text = "review" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = True .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False .Execute Replace:=wdReplaceAll End With
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
netchie | Word VBA | 6 | 08-28-2012 03:37 PM |
![]() |
icsjohn | Word VBA | 2 | 12-07-2011 06:44 PM |
![]() |
tollanarama | Word | 4 | 01-25-2011 02:19 AM |
Lock words in a document, but allow for input within the document | tlinde | Word | 1 | 02-09-2010 09:07 PM |
How to stop "replace"'ing new words (in desperate need of advice) | bme081 | Word | 6 | 11-02-2009 05:57 AM |