Using Chrome browser instead of InternetExplorer.Application

前端 未结 3 2031
南笙
南笙 2020-12-19 18:54

I know how to work with Excel VBA and IE, but I would like to know if it\'s possible to work with Google Chrome, since I find it faster than IE.

Here\'s what I mean

3条回答
  •  眼角桃花
    2020-12-19 19:41

    Sub test544()
      Dim chromePath As String
      chromePath = """C:\Program Files\Google\Chrome\Application\chrome.exe"""
      Shell (chromePath & " -url http:google.ca")
    End Sub
    

提交回复
热议问题