K
Kent Wolf
I have some code that worked just fine in Access 97 with Word 97 in
Windows NT 4.0.
We upgraded one of our OS's to Windows XP.
Now, the code won't work. I got an error that said something about
not being able to find a path. My path to MS Word is valid. The code
I am getting an error on is:
Set objWord = CreateObject("Word.Application")
I have searched and searched Google Groups for weeks to no avail.
Could someone please tell me what this might be? I did note that the
code worked just fine on my Windows XP system here at home.
I checked and I have no missing references. All references lead to
files physically located on my machine.
I am absolutely stumped.
The actual code is longer, but I believe if I could just invoke an
instance of Word, all would be OK.
The (simple) Word invoking code is listed below:
Private Sub Command80_Click()
Dim objWord As Object
Set objWord = CreateObject("Word.Application")
With objWord
..Visible = True
End With
End Sub
I have tried every known solution even remotely related to this issue
to no avail.
....Thank you very, very much if you can help.
Windows NT 4.0.
We upgraded one of our OS's to Windows XP.
Now, the code won't work. I got an error that said something about
not being able to find a path. My path to MS Word is valid. The code
I am getting an error on is:
Set objWord = CreateObject("Word.Application")
I have searched and searched Google Groups for weeks to no avail.
Could someone please tell me what this might be? I did note that the
code worked just fine on my Windows XP system here at home.
I checked and I have no missing references. All references lead to
files physically located on my machine.
I am absolutely stumped.
The actual code is longer, but I believe if I could just invoke an
instance of Word, all would be OK.
The (simple) Word invoking code is listed below:
Private Sub Command80_Click()
Dim objWord As Object
Set objWord = CreateObject("Word.Application")
With objWord
..Visible = True
End With
End Sub
I have tried every known solution even remotely related to this issue
to no avail.
....Thank you very, very much if you can help.