我是VBA的新手并且没有扎实的编码背景,所以我非常感谢这里的一些帮助。
我正在尝试使用VBA在Mac上的Chrome上打开一个网站,我得到了以下代码
Sub ip()
Dim chromepath As String
chromepath = "/Applications/Google Chrome.app"
Dim url As String
url = "https://www.amazon.com/gp/help/reports/infringement"
Shell chromepath & url
End Sub
但系统始终显示Shell行有错误:找不到路径。它变得非常令人沮丧。有谁知道这是什么问题?
谢谢!!!