I have some lines of code in an template which toggles the caption in a custom menubar item.
Apparently, when this command is used in a document based on this template, Word will also prompt the user to save changes to the template when the document is being closed.
I want to supress this prompt. Even though the menu captions might be changed, thereby changing the template, I don’t want changes the template saved and I don’t want the user prompted.
To handle this for a document object, I would simply write:
.Close SaveChanges:=wdDoNotSaveChanges
but how do you handle this for an Attached Template that you don’t want saved?
Thanks,
Stephan Ip