![](/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.