J
jag
I have several template files where each template is different, but most of
the code in each is the same. Everytime I need to modify one of the
userforms or something in the files I have to make the change in each file.
I want to be able to have a central code template that all these files can
share to get the "common" code from.
I attempted this by creating a "code" template that had the userforms and
code that all the files would share. I then went into one of the template
files and under Tools, Templates and Add-Ins, inserted my "code" template
into the list.
I can now see the "code" template listed in my VB project window, but have
two issues.
1. If I try and expand the "code" template in the project window, I get an
error message, "Project is unviewable". What have I done wrong???
2. How do I reference the userforms, subs, etc. that I need from the "code"
template.
Hope this makes sense,
Thanks for your help..
jag
the code in each is the same. Everytime I need to modify one of the
userforms or something in the files I have to make the change in each file.
I want to be able to have a central code template that all these files can
share to get the "common" code from.
I attempted this by creating a "code" template that had the userforms and
code that all the files would share. I then went into one of the template
files and under Tools, Templates and Add-Ins, inserted my "code" template
into the list.
I can now see the "code" template listed in my VB project window, but have
two issues.
1. If I try and expand the "code" template in the project window, I get an
error message, "Project is unviewable". What have I done wrong???
2. How do I reference the userforms, subs, etc. that I need from the "code"
template.
Hope this makes sense,
Thanks for your help..
jag