Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's the best reference material for using VFP and Wor
Message
De
27/10/1999 17:18:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00282588
Message ID:
00282699
Vues:
18
Hi David,

I want to say oWord.Selection.Delete because the Selection will already include the new text, but I'm not sure if that will delete the bookmark or not.



>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 :-)
------------------------------------------------
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform