从VBA / Excel打开Goog​​le Chrome [英] Open Google Chrome from VBA/Excel

查看:2464
本文介绍了从VBA / Excel打开Goog​​le Chrome的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从VBA开启Chrome浏览器。我明白Chrome不支持ActiveX设置,所以我很好奇,如果这些任何工作?

I'm trying to open a Chrome browser from VBA. I understand Chrome does not support ActiveX settings so I'm curious if theres any work-arounds?

Dim ie As Object 
Set ie = CreateObject("ChromeTab.ChromeFrame")
ie.Navigate "google.ca" 
ie.Visible = True


推荐答案

shell("C:\Users\USERNAME\AppData\Local\Google\Chrome\Application\Chrome.exe -url http:google.ca")

这篇关于从VBA / Excel打开Goog​​le Chrome的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆