Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting Text in Word
Message
 
 
To
10/05/2001 13:03:27
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00505735
Message ID:
00505903
Views:
20
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform