| |
adminkoe
Posts: 117
Score: 0
Joined: 12/23/2000
From:
Status: offline
|
Sub CommandButton1_Click() Set Word = CreateObject("Word.Application") Word.Visible = TRUE Word.Documents.Open("C:\My Documents\Myfile.doc") End Sub This is how to open a web site with a command button: Sub CommandButton2_Click() Set Web = CreateObject "InternetExplorer.Application") Web.Visible = TRUE Web.Navigate "http://www.yahoo.com"; End Sub Regards, Andi Zain
|
|