How to handle errors caused by Mailmerge in VB

B

Bindhu

We have a VB program which opens word documents and data
source and performs mailmerge programmatically.
Whenever there is a problem with mailmerge (eg: some
mergefields are missing) the word session hangs.
It pop-ups some dialogs, like "Record and header
delimiter" or "invalid merge field". These dialogs require
manual intervention but, programmatically it is difficult
to supress these dialogs, the reason being there are
multiple scenarios or worse still the WORD session itself
is hidden.
Is there a way to handle such scenario's using VB?
Any suggestions will be greatly appreciated.

Thanks
Bindhu
 

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