Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting to a Word Textbox
Message
From
07/05/2001 16:07:36
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00504393
Message ID:
00504412
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
It'll be part of the Shapes collection.

Give it a name. And then do Document.Shapes("My Textbox")

>I have a textbox object in a Word document that has some text that I want to replace. When I execute the Word Find from VFP, the text is not found. If I manually go to Word and place the cursor in the textbox so the Textbox is selected, then go back to VFP to execute the Find, it works. What is the trick to selecting this textbox in VFP before I execute the find? There is only 1 textbox in the entire document.
>
>TIA!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform