Websitewichtel
Websitewichtel

Reputation: 135

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

Upvotes: 0

Views: 206

Answers (1)

braX
braX

Reputation: 11735

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.

Upvotes: 3

Related Questions