我有一些 VBA 代码可以从网上获取股票价格。我的代码使用 InternetExplorer 对象/文档来执行此操作。但是,如果可能的话,我想改用 Microsoft Edge 对象/文档。
在我当前的代码中:
我初始化一个 InternetExplorer 变量:Dim ie As InternetExplorer
然后我创建一个对象:Set ie = CreateObject("InternetExplorer.Application")
我想知道是否可以在我的代码中使用 Microsoft Edge 而不是 Internet Explorer 对象/文档。先感谢您。