View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mark[_36_] Mark[_36_] is offline
external usenet poster
 
Posts: 39
Default Difference between NEW and CREATEOBJECT?

Hi NG

Just a newbie question.

What is the difference between NEW and CREATEOBJCT ?

The following two lines of code seems to do the same!

Set xmlStr = CreateObject("Microsoft.XMLDOM")
Set xmlStr = New DOMDocument

Is there any performance issues in using the one instead of the other?

Regards
Mark