This appears in Colo's HTML utility.<pre>Public 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
Public Const SW_SHOWNORMAL = 1
Public Const Site As String = "http://www.mrexcel.com/board/index.php"
ShellExecute 0, "open", Site & vbNullChar, vbNullString, vbNullString, SW_SHOWNORMAL
You can assign GotoMrexcel to a button, or use that code to open your specific web url.
Juan Pablo G. MrExcel.com Consulting This message was edited by Juan Pablo G. on 2002-09-05 10:51 This message was edited by Juan Pablo G. on 2002-09-05 10:51