Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
KCT KCT is offline
external usenet poster
Posts: 4
Default Mail Merge Automation: Call rejeted by Callee

I am programatically executing a Microsoft Word Mail Merge from a text file
data source, in ASP classic. If the number of records being merged is
relatively large, Word seems to take a while to complete the Execute method
of the Mail Merge, but in my program, control flows to the next command. So
when my program tries to close the Word document, Word does not respond and I
get the following error:

Error Type:
Call was rejected by callee.

The problem does not occur when the number of records is smaller (eg. 20
records) but the number of records does not have to be exceptionally large
for this to happen (eg. 70 records causes the error).

Is there a way to wait for Word to finish executing the Merge before my
program continues? Could there be another solution?
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Supressing the ctrl-c and other keys during word automation in automation apondu Microsoft Word Help 0 July 19th 07 10:15 PM
Header / Footer mail merge issue with custom built word automation solution. eJimmi Mailmerge 4 July 18th 06 02:48 PM
call out arrow Pam C Microsoft Word Help 4 March 16th 06 05:43 PM
can we call data for mail merge from two databases APBM Mailmerge 1 January 20th 06 04:48 PM
Not sure what to call it? Fjetfamily Microsoft Word Help 5 February 4th 05 02:55 AM

All times are GMT +1. The time now is 04:01 AM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright ©2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.

About Us

"It's about Microsoft Word"