Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's the best reference material for using VFP and Wor
Message
 
To
27/10/1999 15:42:08
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00282588
Message ID:
00282663
Views:
19
John and Nick,

Thanks for your speedy replies!

The following is a portion of my VFP code that I use to create an instance of Word and then go to a bookmark and insert text.

oWord = CREATE("Word.Application")
oWord.Documents.Open("docs\renewal.doc")
oDoc = oWord.ActiveDocument
oDoc.Bookmarks("Appnum").Select
oWord.Selection.InsertAfter(Contract.NewNum)

The problem is that after the first round of inserts and printing of the document, if I want to go back to the bookmark, how do I select what was last entered and then replace it with a new value.

Thanks!

Dave :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform