Hi,
a collegue of mine was given the advice, to use CreateObject instead of using the "new" keyword.
Dim xlObject = Excel.Application
set xlObject = CreateObject("Excel.Application"
set xlObject = New Excel.Application
She asked me what the advantage was of using CreateObject and why this should be used over the New keyword.
Since I don't know it, maybe somebody here knows the difference?
Thanks in advance...
Bart
a collegue of mine was given the advice, to use CreateObject instead of using the "new" keyword.
Dim xlObject = Excel.Application
set xlObject = CreateObject("Excel.Application"
set xlObject = New Excel.Application
She asked me what the advantage was of using CreateObject and why this should be used over the New keyword.
Since I don't know it, maybe somebody here knows the difference?
Thanks in advance...
Bart