Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting to a Word Textbox
Message
From
07/05/2001 17:34:28
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00504393
Message ID:
00504453
Views:
16
Yup. That, too. But if you ever have another Shape, it'll be problematic.

>This works:
>
>oWord.ActiveDocument.Shapes(1).Select()
>
>>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
Reply
Map
View

Click here to load this message in the networking platform