Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting to a Word Textbox
Message
De
07/05/2001 17:34:28
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00504393
Message ID:
00504453
Vues:
15
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform