Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program Hyperlink to Word Document
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00878059
Message ID:
00878345
Views:
18
It works! I am going to integrate this code to my VFP program. Again, thank you very much. 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
Previous
Reply
Map
View

Click here to load this message in the networking platform