简体   繁体   English

Excel VBA-CreateObject和新Internet Explorer之间的区别

[英]Excel VBA - Difference Between CreateObject and New Internet Explorer

Can someone please explain to me if there is a difference between 有人可以跟我解释一下

Set objIE = CreateObject("internetexplorer.application")

and

Set objIE = New InternetExplorer

The first one is late binding, and the second one is early binding. 第一个是后期绑定,第二个是早期绑定。 Early binding also requires a reference in the project whereas late binding does not. 早期绑定也需要项目中的引用,而后期绑定则不需要。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM