
請問如何讓word 2016像word 2013一樣,選取文字後,按右鍵會出現搜尋的選項?謝謝

Sub find_google()
If Selection.Type = wdSelectionIP Then
MsgBox "您尚未選取文字喔,請先選取文字,再執行本功能!"
Else
'打開網頁,進行google搜尋
ActiveDocument.FollowHyperlink _
Address:="https://www.google.com/search?q=" & Selection.Text, _
NewWindow:=True, AddHistory:=True
End If
End Sub
proafa wrote:
謝謝告知,但你的方法(恕刪)