Information générale
Catégorie:
COM/DCOM et OLE Automation
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 :-)
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement