0

Can someone please explain to me if there is a difference between

Set objIE = CreateObject("internetexplorer.application")

and

Set objIE = New InternetExplorer
Websitewichtel
  • 125
  • 3
  • 10
  • please read: https://support.microsoft.com/en-us/help/245115/using-early-binding-and-late-binding-in-automation – Sorceri May 16 '18 at 20:30
  • Possible duplicate of [What are the differences between using the New keyword and calling CreateObject in Excel VBA?](https://stackoverflow.com/questions/170070/what-are-the-differences-between-using-the-new-keyword-and-calling-createobject) – HackSlash May 16 '18 at 21:22

1 Answers1

3

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.

braX
  • 11,506
  • 5
  • 20
  • 33