Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program Hyperlink to Word Document
Message
 
 
À
18/02/2004 11:09:23
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00878059
Message ID:
00878781
Vues:
17
I have one more quesiton. I need to exit this document without save and prompt me any question. Can you show me the programming code?

Thanks, Tai Fei Pao


>Sorry I miss Visible
>
>
>oWord = CREATEOBJECT("Word.Application")
>oWord.Documents.Add()
>WITH oWord.ActiveDocument
>    .Hyperlinks.Add(oWord.Selection.Range, "http://www.levelextreme.com/","", "", "Your Text To Display of Hyperlink")
>ENDWITH
>oWord.Visible = .t.
>
>
>I run this code with MS Word 2000 & it works
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform