Consulting

Results 1 to 2 of 2

Thread: EOleException - Call was rejected by callee

  1. #1

    EOleException - Call was rejected by callee

    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!!!

  2. #2
    VBAX Wizard
    Joined
    May 2004
    Posts
    6,713
    Location
    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •