PDA

View Full Version : EOleException - Call was rejected by callee



zimbo
02-11-2009, 07:52 AM
Hi all,

We've just come across a problem where our app sends data to a Word template to create a document. This prompts two macros to run which are not digitally signed (not sure if this has anything to do with anything?!)

However, once run, often the fields aren't populated on the document and the bookmarks are showing. The bug report shows:
exception number : 1
exception class : EOleException
exception message : Call was rejected by callee.

Does anyone have any suggestions why this is happening and how to prevent it?

Thanks!!!

fumei
02-11-2009, 09:55 AM
There is very little we can suggest unless you give more details.

Also, some actual code would be helpful.

What do you mean "the bookmarks are showing"?

How are you - precisely - making the new document from the template?

"prompts two macros to run "

What are they, and WHY are they? Are they in Document_New of the .DOT file?