G
Guest
Hi,
I had an annoying problems when try to write data from access database into
the word document.
I tested in the Windows XP and office 2000 machine. I reference the word dll
to msword9.olb. Somehow the following sentence does not work properply.
Dim objWord As Word.Application
Dim objDoc As Word.Document
Set objWord = New Word.Application
When I debug it, I found that objWord is nothing after new it. But I can
find the winword.exe in the task list. I do not know why it happens and how
to fix the problem.
Anybody can give me some advice? Thanks in advance.
I had an annoying problems when try to write data from access database into
the word document.
I tested in the Windows XP and office 2000 machine. I reference the word dll
to msword9.olb. Somehow the following sentence does not work properply.
Dim objWord As Word.Application
Dim objDoc As Word.Document
Set objWord = New Word.Application
When I debug it, I found that objWord is nothing after new it. But I can
find the winword.exe in the task list. I do not know why it happens and how
to fix the problem.
Anybody can give me some advice? Thanks in advance.