Sub mySearching()
'以选中内容为搜索关键词
Dim mySearchEngine As String
'mySearchEngine = "http://www.google.cn/search?hl=zh-CN&q=" 'Google搜索
'mySearchEngine = "http://www.baidu.com/s?wd=" '百度搜索
mySearchEngine = "https://baike.baidu.com/item/" '百度百科
'Shell "C:\Program Files\Internet Explorer\IEXPLORE.EXE " & mySearchEngine & Selection.Text, 1
Shell "C:\Program Files (x86)\UCBrowser\Application\UCBrowser.exe " & mySearchEngine & Selection.Text, 1
End Sub
【Excel VBA】通过单元格直接搜索百度百科
最新推荐文章于 2020-12-03 14:28:11 发布