My new document's subroutines are out of scope from the template.

J

joep3

I've inherited some templates to automate and added userforms and code. In
one template when I open the template document and press formfields to fire a
userform, everything works fine. When I create a new document off the
template the formfields have lost the reference to the macro procedure.
Since I have one template working find creating new documents off a template,
I made a copy of the working template, deleted all code and forms and copied
the forms over with the code. It still does the same thing. All my
subroutines are public in the macro and there is a reference to the
normal.dot and all other references martch. Any ideas as to why this is
happening?
 

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