C
Chad Knudson
I have a macro that helps setup the document I create and I have a Save
Final macro that detaches the document from the template and attempts to
save the file. Once I set the template to the normal template, it no longer
has access to my macro source and it doesn't save the file. When I go to
close my document I'm prompted to save it again since it's marked dirty due
to the change in attached template.
ActiveDocument.Save
ActiveDocument.AttachedTemplate = NormalTemplate
ActiveDocument.Save ' Never gets executed
What can I do to initiate a save after setting the AttachedTemplate
property?
Final macro that detaches the document from the template and attempts to
save the file. Once I set the template to the normal template, it no longer
has access to my macro source and it doesn't save the file. When I go to
close my document I'm prompted to save it again since it's marked dirty due
to the change in attached template.
ActiveDocument.Save
ActiveDocument.AttachedTemplate = NormalTemplate
ActiveDocument.Save ' Never gets executed
What can I do to initiate a save after setting the AttachedTemplate
property?