小编Luc*_*cas的帖子

是否可以在 VBA 中创建和使用 Microsoft Edge 变量/对象?

我有一些 VBA 代码可以从网上获取股票价格。我的代码使用 InternetExplorer 对象/文档来执行此操作。但是,如果可能的话,我想改用 Microsoft Edge 对象/文档。

在我当前的代码中:

  1. 我初始化一个 InternetExplorer 变量:Dim ie As InternetExplorer

  2. 然后我创建一个对象:Set ie = CreateObject("InternetExplorer.Application")

我想知道是否可以在我的代码中使用 Microsoft Edge 而不是 Internet Explorer 对象/文档。先感谢您。

excel internet-explorer vba microsoft-edge

7
推荐指数
1
解决办法
3万
查看次数

标签 统计

excel ×1

internet-explorer ×1

microsoft-edge ×1

vba ×1