See Thread #
782504.
>hi!
>
>i'd like to automate a search/replace in Word, including textboxes. my code is as follows:
>----------------------------------------
>oRange = oWord.ActiveDocument.Range(0,0)
>WITH oRange.Find
> .Text = "<
>"
> .MatchCase = .F.
> .Format = .F.
> .Replacement.Text="REPLACEITEM"
> lFound = .Execute(,,,,,,,,,,1)
>ENDWITH
>----------------------------------------
>
>this works fine for standard document text, but doesn't find textbox items. anyone know how to do this?
>
>many thanks in advance!