D
DualStar
I created a new template based on an old template (same file name). I
have renamed the command buttons so the code is easier to read (in the
old template they were left at default CommandButton1, etc.)and added
in some other functionality. Now I have a fully functional template for
any future documents based on this template and it works fine. I didn't
realize when you open a document based on a template none of the coding
goes with it. Now when someone opens an old document that they have
saved on their computer none of the command buttons work because (I
think) it references the new template. Is there anyway to fix this? I
have tried to open the old document and change the code for the command
buttons in the referenced template file but that doesn't work. I have
also tried to cut and paste the code into ThisDocument of the old
document for a quick fix but that doesn't work either. Any help would
be greatly appreciated. Thank you in advance.
have renamed the command buttons so the code is easier to read (in the
old template they were left at default CommandButton1, etc.)and added
in some other functionality. Now I have a fully functional template for
any future documents based on this template and it works fine. I didn't
realize when you open a document based on a template none of the coding
goes with it. Now when someone opens an old document that they have
saved on their computer none of the command buttons work because (I
think) it references the new template. Is there anyway to fix this? I
have tried to open the old document and change the code for the command
buttons in the referenced template file but that doesn't work. I have
also tried to cut and paste the code into ThisDocument of the old
document for a quick fix but that doesn't work either. Any help would
be greatly appreciated. Thank you in advance.