Sub グーグル検索( )
Dim word As String
Dim URL As String
word = Selection
URL = "http://www.google.co.jp/search?q=" & word
ActiveDocument.FollowHyperlink address:=URL, NewWindow:=False, AddHistory:=True
End Sub
Private Sub mnuHPage_Click( )
Dim URL As String
Dim IE As Object
' 指定URL「実務の友」を開く
URL = "http://www5d.biglobe.ne.jp/~Jusl/"
Set IE = CreateObject("InternetExplorer.Application")
IE.Navigate2 URL
IE.Visible = True
End Sub