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:
00878781
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform