Events aren't firing all the time when using Word via automation

H

Home Alone

Hi,
I am calling Word from another application, and doing a mailmerge operation.
When I send a bunch of letters I have no trouble trapping the
afterrecordmerge event. However when I merge in a loop calling open and close
(with different source data) about 20 documents, the event just plain doesn't
seem to fire all the time. I put trace code in the event just to make sure.
What I am doing to get around this problem is putting a lot of pause
statements between the open and close and it works ok.
But is there a way to make sure this event gets fired?
Thanks- JP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top