Later you transfer that code to some other machine, then you will have to add the references on that machine too. This makes the VBA code portable.įor example, if you create an application that deals with other applications and you use early binding by adding references and using the new keyword. It does not need any references to be added. In late binding the creation of objects happens on the run time. The creation of an object using the CreateObject is called Late Binding. Well, that's a valid question and we have a fitting answer. As the name suggests, the CreateObject function is used to create objects.īut why do we use CreateObject method or function if we can directly create an object using the new keyword?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |