pozitron969
Programmer
Hello all,
I have created a Word 2003 doc template that uses tables to organize Form elements. I have a series of macros that are used to add rows to the tables and insert or delete various form elements. The macros are executed by the MacroButton Field. The macros will automatically unprotect the doc and then re-protect the doc again once it is done. Ideally I would like the document to be protected all the time, execpt when a macro is executing.
The problem I am running into is that if the template is saved it doesn't keep the macros with the template. This also happens when I fill out the form and save it as a document. The macros will need to be available for further edits to the document.
By default my Macro setting is set to medium. I have also tested this scenario with it on Low.
I am able to import the .bas file from an older version of the template and get the macros to work, but importing them every time is not a solution I would like.
Any help would be greatly appreciated. Thank you.
Pozitron969
I have created a Word 2003 doc template that uses tables to organize Form elements. I have a series of macros that are used to add rows to the tables and insert or delete various form elements. The macros are executed by the MacroButton Field. The macros will automatically unprotect the doc and then re-protect the doc again once it is done. Ideally I would like the document to be protected all the time, execpt when a macro is executing.
The problem I am running into is that if the template is saved it doesn't keep the macros with the template. This also happens when I fill out the form and save it as a document. The macros will need to be available for further edits to the document.
By default my Macro setting is set to medium. I have also tested this scenario with it on Low.
I am able to import the .bas file from an older version of the template and get the macros to work, but importing them every time is not a solution I would like.
Any help would be greatly appreciated. Thank you.
Pozitron969