1
我有一些VBA代码,从网上拉股价。我的代码使用InternetExplorer对象/文档来执行此操作。但是,如果可能的话,我想使用Microsoft Edge对象/文档。是否可以在VBA中创建和使用Microsoft Edge变量/对象?
在我当前的代码:
我初始化的InternetExplorer变量:
Dim ie As InternetExplorer
然后,我创建了一个对象:
Set ie = CreateObject("InternetExplorer.Application")
我想知道是否有可能在我的代码中使用Microsoft Edge而不是Internet Explorer对象/文档。先谢谢你。
从这里开始:https://msdn.microsoft.com/en-us/library/hh772401%28v=vs.85%29.aspx? f = 255&MSPPError = -2147217396 –
[Microsoft Edge是否支持COM自动化(InternetExplorer对象)?](http://support.microsoft.com/kb/31302304/will-microsoft-edge-support-com-automation-internetexplorer-目的) –