Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word
Message
From
23/11/1999 08:48:36
 
 
To
23/11/1999 08:13:06
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Re: Word
Miscellaneous
Thread ID:
00294180
Message ID:
00294308
Views:
25
>>>I move a pointer inside of Word doc. using GoTo to Bookmark. After that I'd like to replace (not insert) some text. How do I do that?
>>>Thanks Mark
>>
>>You can do that by using the Selection object, and setting its Start and End properties, and then deleting the selection, or usingthe Selection .TypeText method to overwrite it.
>I am trying to use Selection .TypeText but it inserts text only.
>Mark

It only inserts if there is nothing selected to begin with. YOu have to use the Start and End properties to select the text you want to replace.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform