• Disabling prompt to save attached template

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Disabling prompt to save attached template

    Author
    Topic
    #352212

    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

    Viewing 0 reply threads
    Author
    Replies
    Viewing 0 reply threads
    Reply To: Disabling prompt to save attached template

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: