Hi All!
I have this little code to invoke Word and load a document into it by clicking on the link. This worked fine so far but I found a computer that gives the following error message:
"ClassFactory cannot supply requested class"
That machine have som extra patches and goodies installed onto it, so that might affect the system's reaction. There is no problem if I use Excel.Application but Word breaks it:
...
Dim objApp
Set objApp = CreateObject("Word.application")
objApp.Visible = true
objApp.documents.Open AppURL
Set objApp = Nothing
...
Anyone would know how to fix this?
I have this little code to invoke Word and load a document into it by clicking on the link. This worked fine so far but I found a computer that gives the following error message:
"ClassFactory cannot supply requested class"
That machine have som extra patches and goodies installed onto it, so that might affect the system's reaction. There is no problem if I use Excel.Application but Word breaks it:
...
Dim objApp
Set objApp = CreateObject("Word.application")
objApp.Visible = true
objApp.documents.Open AppURL
Set objApp = Nothing
...
Anyone would know how to fix this?