Run-time error when exiting Word when Macros are active

R

Ray Callaway

I have coded a large number of macros in a Word Document.
They all run fine. However, when I am exiting WORD (this
can be after I close the document with the macros) I get a
Microsoft VB Run-time error 5852 - Requested object is not
available.

I searched KnowledgeBase and the only error listed was
specific to using VB code in a certain way for a search
function.

Tks
 
A

Astrid

Hi Ray,

Do you use any macros that excute when the document or application are closed? And if so, what kind of code is in there?

Hope this helps,
regards,
Astrid

So that all can benefit from the discussion, please post all follow-ups to the newsgroup.
Visit the MVP Word FAQ site at http://www.mvps.org/word/
 

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