The loop you would need is something like the following which assumes that
you have the formatted paragraphs selected when you run it:
Dim ReplacementText as Range
Set ReplacementText = Selection.Range
Selection.HomeKey wdStory
Selection.Find.ClearFormatting
With Selection.Find
Do While .Execute(FindText:="Text to be replaced",
MatchWildcards:=False, Wrap:=wdFindContinue, Forward:=True) = True
Selection.Paragraphs(1).Range.FormattedText = ReplacementText
Loop
End With
If you want to delete the initially selected formatted text, att
ReplacementText.Delete
at the end.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Dear All,
>
[quoted text clipped - 13 lines]
>
> Many thanks in advance
Lambs - 31 Mar 2006 17:49 GMT
Thanks Doug: it's worked well. Just to give you an idea, it's some automated
letters from some financial software, that we have sent to a .pdf print file,
which we have then 'converted' into Word... (97!)
I think that Word is treating separate paras. as separate Text boxes,
because as soon as I move the cursor away from the text, it turns into
'cross-hairs.'
Just out of curiosity, if I change the (1) in your last line before the Loop
command, does that effectively increase the number of paras. replaced?
Thanks again,
> The loop you would need is something like the following which assumes that
> you have the formatted paragraphs selected when you run it:
[quoted text clipped - 33 lines]
> >
> > Many thanks in advance
Doug Robbins - Word MVP - 31 Mar 2006 19:22 GMT
Changing the 1 to some other number will most probably cause an error unless
you included a ^p in the middle of the search string so that the selection
spanned more than one paragraph.
To see what I mean, in a document type
=rand()
and then press enter and then search for
dog.^pThe
and you will see that the selection includes the last word of one paragraph
and the first word of the next.

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Thanks Doug: it's worked well. Just to give you an idea, it's some
> automated
[quoted text clipped - 54 lines]
>> >
>> > Many thanks in advance