Macro in Word 2007 template runtime error

S

Sara

I have a Word 2007 template with a macro in it that is doing a mail
merge. We have an application that uses dynamic data exchange to open
this template and populate the fields. On my local machine this works
perfectly and there are no isses. When this was promoted to the
client site the user which is testing it with his Word 2007 is getting
a runttime error "The object invoked has disconnected from its
clients". Stepping through the macro it goes through all the code
successfully until the very last line of code which is the End Sub it
gives this error. We see in the background the letter is created and
all the functionality is as it should minus ending the macro and
closing the macro. Any thoughts on what could be causing this?
 
D

Doug Robbins - Word MVP

It might be easier to help you if you showed us the code that is being used
by the macro.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 

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