Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting text in a word document
Message
From
29/12/2000 17:58:25
 
 
To
29/12/2000 17:22:06
Charles Richard
Nvo Management Systems
Boisbriand, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00457971
Message ID:
00457985
Views:
25
Hi Charles,

To use TypeText, you had to have a Selection to begin with. After the TypeText.Text, the text just sent to Word should already be highlighted.

>Can anyone tell me how to select text in a Word document using automation? I need to select only the last text entered (using the .typetext method). Alternatively, I could use the .insertafter method to insert text but then I would need to know how to unselect the text afterwords.
>
>TIA
>Charles Richard
------------------------------------------------
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