The variable is declared as a generic Object datatype
The object which a property or method belongs to can only be resolved at run-time and not at compile time therefore running slower than early binding.
Dim wdObject As Object
Set wdApp = CreateObject("Word.Application")
Using late binding is not very efficient and makes programs run a lot slower
For this reason you should try and avoid the
© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited TopPrevNext