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

Click here to load this message in the networking platform