G
Geoff332
Hi,
I have a bunch of documents that use all sorts of macro code to format and
control the document. The documents are all based on a template and the code
is located in the template.
I want to add a "publish" function that will prepare the document for
sending out to customers (update a few fields, set document protection etc).
At the completion of the publish function, I want it to either disable or
remove the macros from the published instance document. This is important,
because we don't want to expose the macros and other bits and pieces to our
customers (or even to have the warning dialogue pop-up).
Is this possible?
The second piece that would be wonderful is to add the ability to reactivate
the code from the original template, to allow us to manage and update the
document. I can assume that the original template is available for this
function.
I have a bunch of documents that use all sorts of macro code to format and
control the document. The documents are all based on a template and the code
is located in the template.
I want to add a "publish" function that will prepare the document for
sending out to customers (update a few fields, set document protection etc).
At the completion of the publish function, I want it to either disable or
remove the macros from the published instance document. This is important,
because we don't want to expose the macros and other bits and pieces to our
customers (or even to have the warning dialogue pop-up).
Is this possible?
The second piece that would be wonderful is to add the ability to reactivate
the code from the original template, to allow us to manage and update the
document. I can assume that the original template is available for this
function.