View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
KJTFS[_27_] KJTFS[_27_] is offline
external usenet poster
 
Posts: 1
Default Launching a website from Excel

Yes you can use the shell API

Private Declare Function ShellExecute _
Lib "shell32.dll" _
Alias "ShellExecuteA" ( _
ByVal hwnd As Long, _
ByVal lpOperation As String, _
ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Long) _
As Long
Sub OpenWebSite()
Dim r As Long
r = ShellExecute(0, "open", "http://www.kjtfs.com", 0, 0, 1)
End Sub



Keith
www.kjtfs.co

--
Message posted from http://www.ExcelForum.com