![](/img/trans.png)
[英]What are the differences between using the New keyword and calling CreateObject in Excel VBA?
[英]Excel VBA - Difference Between CreateObject and New Internet Explorer
有人可以跟我解释一下
Set objIE = CreateObject("internetexplorer.application")
和
Set objIE = New InternetExplorer
第一个是后期绑定,第二个是早期绑定。 早期绑定也需要项目中的引用,而后期绑定则不需要。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.