We are using the following code to open a Microsoft Word Document, which works fine on 2 PCs and not on just one:
Dim objWord As Word.Document
Set objWord = GetObject( “C:Test.doc” , “Word.Document”)
objWord.Application.Visible = True
When we use this on one PC we get the following message:
–2147319779
Automation Error
Library Not Registered
I have looked around for a few solutions and I wonder if it means that a DLL is not registered for Microsoft Word? If so, I am a bit at a loss as to what to do next, as I have already de-installed Microsoft Office and re-installed it. We are running Microsoft Office 2003 SP3.