Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting Text in Word
Message
 
 
À
10/05/2001 13:03:27
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00505735
Message ID:
00505903
Vues:
19
>>I am using the Find method to locate a specific string of text in a Word doc. The Execute() is returning TRUE, so now I want an object reference to that. I am trying oRange = oWord.Selection which does return an object reference.
>
>If you have a Range to start with and call its Find.Execute method, after the search, the Range has been changed to the found text.
>
>
>IF oRange.Find.Execute()
>   * oRange now points to the matching text
>ENDIF
>
[Development] Life is now so much better. Thank You!
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform