Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word automation Replace
Message
From
07/09/2021 11:04:59
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01682265
Message ID:
01682267
Views:
53
>Hi, i need to know if i can make a replace in a word document when the text i need to change is inserted into a box... I can replace all text not in a box with this code
>
>loWord.Application.Selection.Find.Execute(lcOldText,,,,,,.T.,wdFindContinue,,lcNewText,wdReplaceAll)
>
>But this doesn't work with in box text
>
>Thanks

I think you should go through every Shape and check if this is TextBox and then replace text in it.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform