compile vs not

C

Chuck

A general question about when/whether to compile an add in.

I started running into winword.exe errors in very specific circumstances (a
user form called from a macro on a toolbar that ran a macro in a referenced
project caused the winword.exe error on Word exit, even though the userform
performed properly and there was no indication of anything wrong until
exiting Word - if I ran the macro from the list of macros rather than the
toolbar the winword.exe error on exit did not occur).

The add in was created from a plain vanilla normal.dot with no code and no
autotext entries: I copied code in from a master code base template using
Tools>Templates and add ins>Organizer. I changed the project name and locked
it for viewing with a password.

I tested and retested the code, tried various modifications, nothing solved
the problem, until I compiled the code in the add in, and then magically the
problem went away, even though there were no compile errors.

Any ideas on why compiling would make the winword.exe go away? I noticed
that compiling the add in caused a 50% increase in its file size.

TIA
 

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