Mario Reiley was telling us:
Mario Reiley nous racontait que :
> Hello Group,
>
[quoted text clipped - 10 lines]
> and I want to change a part to
> "C:\New Project\My file.doc"
Display all field codes, then find/replace all "C:\Source Project\" with
"C:\New Project\".
'_______________________________________
Application.ScreenUpdating = False
ActiveWindow.View.ShowFieldCodes = True
With Selection
.Find.ClearFormatting
.Find.Replacement.ClearFormatting
With .Find
.Text = "TIME"
.Replacement.Text = "DATE"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
.Find.Execute Replace:=wdReplaceAll
End With
ActiveWindow.View.ShowFieldCodes = False
Application.ScreenUpdating = True
Application.ScreenRefresh
'_______________________________________

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org