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:
00878338
Views:
17
First I want to thank you for the help.
Here is my question. Why when I run this code no documents was generated?

Thanks, Tai Fei Pao

>Try
>
>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
>
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform