Sub Sample2()
ActiveSheet.Hyperlinks.Add(Anchor:=Range("A1"), _
Address:="http://www.officetanaka.net/", _
TextToDisplay:="Office TANAKA").Follow
End Sub
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 Sample3()
Dim URL As String, rc
URL = "http://www.officetanaka.net/"
rc = ShellExecute(0, "Open", URL, "", "", 1)
End Sub
Sub Sample6()
Dim URL As String, IE As Object
Set IE = CreateObject("InternetExplorer.Application")
URL = "http://www.officetanaka.net"
With IE
.Navigate (URL)
.Visible = True
End With
Set IE = Nothing
End Sub