Early Binding

The variable is declared to be of a specific object data type.
The process of an object being assigned to a variable is called binding and there are two types (early and late).
The object which a property or method belongs to is resolved at compile time.

Dim wdApp As Word.Application 
Set wdApp = New Word.Application

This is much faster than late binding and is the preferred method.
The other advantage of early binding is that the Editor can display method and property Intellisense.



© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited TopPrevNext