Hi,
When I use the following Code
Dim WrdApp As Object
Set WrdApp = CreateObject("word.application")
I get "OLE Automation server can't create object" Error,
Can you tell me why?
Printable View
Hi,
When I use the following Code
Dim WrdApp As Object
Set WrdApp = CreateObject("word.application")
I get "OLE Automation server can't create object" Error,
Can you tell me why?
Try:Quote:
Originally posted by Mass
Hi,
When I use the following Code
Dim WrdApp As Object
Set WrdApp = CreateObject("word.application")
I get "OLE Automation server can't create object" Error,
Can you tell me why?
Set WrdApp = CreateObject(, "word.application")
or
Set WrdApp = CreateObject("", "word.application")
when I use
Set WrdApp = CreateObject(, "word.application")
I get (aruments not optional)
and With
Set WrdApp = CreateObject("", "word.application")
I get (Wrong number of aruments) error