-
Alright so I don't know what the problem is in your code but I might have the piece of the puzzle your looking for.
When I began programming I used the same code you do to create a new Word session. But now I use the following line
Code:
Set objWord = New Word.Application
You should always put the prefix before and not after a variable, contol or objext.
:p
-
Thanks for your reply
Thanks for your reply.
My problem was solved. It was not program related. The Office 2000 was not properly installed on the PC, which had the runtime error. Everything works fine after I reinstalled the Office 2000.
Thanks anyway.