N
Ness
Hi All,
I hope one of you guys can help - tearing hair out time!
I have written some code, into the AutoClose module in the global template,
that copies all autotext entries out of the global template into an attached
template (this allows me to update global amendments without people losing
their personal autotext entries). This all works fine but on exiting Word it
prompts for saving of the attached template. It is this I need to supress.
The global template is read only and the prompt to save the global is
stopped by the NormalTemplate.saved=True code.
I have tried opening the file and saving it (in code) and then
activedocument.attachedTemplate.saved = True - FAILED
I have tried activedocument.attachedTemplate.save = True - FAILED
Any further ideas would be appreciated as I have run out of steam.
I hope one of you guys can help - tearing hair out time!
I have written some code, into the AutoClose module in the global template,
that copies all autotext entries out of the global template into an attached
template (this allows me to update global amendments without people losing
their personal autotext entries). This all works fine but on exiting Word it
prompts for saving of the attached template. It is this I need to supress.
The global template is read only and the prompt to save the global is
stopped by the NormalTemplate.saved=True code.
I have tried opening the file and saving it (in code) and then
activedocument.attachedTemplate.saved = True - FAILED
I have tried activedocument.attachedTemplate.save = True - FAILED
Any further ideas would be appreciated as I have run out of steam.