Using any Building Block triggers warning message about changes to Building Blocks.dotx Page Numbers, Cover Page, Header, Footer, Text Box

Anonymous
2019-10-30T21:05:40+00:00

I have a template that uses a custom TOC, custom headers/footers, custom cover pages, custom AutoText that's used for Building Block Gallery content controls, etc. All these elements are saved as building blocks in the template file itself, not in Building Blocks. However, after I, and also other users, interact with any of these elements either in the template itself or in a Word document generated from it, we now receive the following warning message when we close Word:

This issue seems to be linked especially to selection of a different option in Building Block Gallery content controls. Even just looking at, but not changing, a control's properties from the Developer tab is enough to cause this warning to appear.

We've used the same template for several years now and never received this warning message until recently. I've double-checked all the custom building blocks in the Building Blocks Organizer dialog box, and they're all definitely saved in the template file itself. Has something changed in the way that Word handles building blocks, AutoText, and/or Building Block Gallery content controls? How do I need to update my template to prevent this warning message from appearing?

============================

* EDIT BY MODERATOR (CHARLES KENYON) TO ADD INFORMATION ABOUT SCOPE OF PROBLEM 26 DEC 2019

This is a lengthy thread. To summarize:

**This warning will appear, without any changes to the Building Blocks.dotx file, whenever the user accesses a building block contained in that file or uses the Quick Parts menu.**An analysis by MVP Greg Maxey shows that these actions load the file and when it is loaded, even though not changed, its saved status is changed to unsaved. That is what triggers the warning.

This applies to Windows versions 1908-1912 of Word 2016-2019/365. It does not happen with Word 2010/2013.

* EDIT BY MODERATOR (CHARLES KENYON)  1/15/2020

It appears this is being fixed. Release 2001 (Insider Monthly) does not have the problem.

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2019-11-06T12:59:54+00:00

Hi,

Sorry for the inconvenience caused by this issue, I have reproduced the issue in my tests following the steps from Charles, and I found the problem occurs only in Version 1910. So as a current workaround, I suggest you revert back to version 1909 or older, and here's the reference:

How to revert to an earlier version of Office 2016 Click-to-Run

In the meantime, you could click File->Feedback to let PG notice this strange behavior.

I would do more tests on the insider channel, and thank you for your understanding and patience.

Have a nice day.

Best Regards,

Oliver

*EDITED: This behavior appears in version 1911 and 1912 Insider Channel.

*EDITED by another moderator (Charles Kenyon) to add information. 26 Dec 2019

I have gotten impatient, like the person waiting for an elevator who keeps pushing the button.

I've added a suggestion to UserVoice and sent in my own feedback.

For anyone who wants to vote for the UserVoice suggestion, here is a link.

A workaround macro was suggested by Greg Maxey on December 26, 2019. It should be helpful. On my browser that shows up on page 5 of this thread.

End of CK Edit.

Edited by Charles Kenyon again (1/16/2020). Good news! Version 2001 (Insider Monhtly) appears to have fixed this. Still fixed in 2002.

Was this answer helpful?

20+ people found this answer helpful.
0 comments No comments
Answer accepted by question author
Anonymous
2019-12-26T17:03:12+00:00

Charles,

  It isn't inserting the DocProperty CC that triggers this warning.  What happens is when you click the "QuickParts" control on the Insert tab or any other BuildingBlock gallery (including BuidlingBlock Gallery content controls), the "Building Blocks.dotx" and "Built-In Building Blocks.dotx templates are loaded. You can see this a a brief pause (sometimes a circling cursor) as they load.

For proof, open Word from scratch and run this code.  You shouldn't see either Building Blocks or Built-In Building Blocks loaded.  Then simply click the "QuickParts" menu control without doing anything else.  Then run the code again.  You will see both are now loaded and the saved state of "Building Blocks.dotx" is set as false.  That is clearly the bug. 

Sub ScratchMacro()

'A basic Word macro coded by Greg Maxey

Dim oTmp As Template

  For Each oTmp In Templates

    Debug.Print oTmp.Name & " --- " & oTmp.Saved

  Next

lbl_Exit:

  Exit Sub

End Sub

Like I said, I typically use Word 2010 but now that I know about this issue, I've handled it by adding an AutoClose macro to my Normal.dotm. I figure if I make a change to Building Blocks.dotx then I would want it saved so rather than be asked if I want to save it whether I changed it or not, I just make sure it is saved when closing Word and not worry about it :-)

Sub AutoClose()

Dim oTmp As Template

  For Each oTmp In Templates

    If oTmp.Name = "Building Blocks.dotx" Then

      oTmp.Save

      Exit For

    End If

  Next

lbl_Exit:

  Exit Sub

End Sub

Was this answer helpful?

6 people found this answer helpful.
0 comments No comments

51 additional answers

Sort by: Oldest
  1. Anonymous
    2019-11-05T22:31:00+00:00

    Safe mode does appear to prevent this issue from occurring. However, I don't see that the list of add-ins that are loaded when I start Word in Safe mode differs from the list when I start in the regular way. Could you clarify what exactly you mean by 'rogue addin', and suggest how I should go about finding and handling such a thing? Also, when I've dealt with it, will the change be saved in the template itself, or will all other users of the template continue to receive the warning message until they also make that change? 

    Thanks for your help.

    Was this answer helpful?

    0 comments No comments
  2. Charles Kenyon 171.1K Reputation points Volunteer Moderator
    2019-11-05T22:43:39+00:00

    I haven't seen this problem as yet but something may have crept in on an update somewhere. Perhaps you could try finding the building blocks template and making it read only to see if that avoids the warning.

    I actually wipe the content from the default building block template since there is nothing in the Microsoft default that I want and the length of the list makes it hard for me to find stuff that I do want. That might be another reason I don't see the same warning after interacting with other template's Building Blocks. If you ever change your mind and want Microsoft's default content again you simply delete the 'Building Block.dotx' template and Word recreates it on the next open.

    The building blocks that come with Word are in the "Built-In Building Blocks.dotx" file. Post-Office 2007, by default, the Building Blocks.dotx file holds user-saved building blocks. Like you, I do not keep my custom building blocks there.

    Since the Built-In-Building Blocks contains the standard text box, TOC, page number, and header/footer building blocks, and I normally load a bunch of Add-Ins anyway, I have not cleared it to save time. I seldom use those built-in ones, though.

    Was this answer helpful?

    0 comments No comments
  3. Charles Kenyon 171.1K Reputation points Volunteer Moderator
    2019-11-05T22:49:21+00:00

    Safe mode does appear to prevent this issue from occurring. However, I don't see that the list of add-ins that are loaded when I start Word in Safe mode differs from the list when I start in the regular way. Could you clarify what exactly you mean by 'rogue addin', and suggest how I should go about finding and handling such a thing? Also, when I've dealt with it, will the change be saved in the template itself, or will all other users of the template continue to receive the warning message until they also make that change? 

    Thanks for your help.

    Safe mode will not have any Add-Ins and will not have the built-in or custom building blocks nor customizations stored in the normal template. You are right that they will still appear in the list of Add-Ins as active, but they are not.

    Add-In settings are per user on a computer.  They have nothing to do with a template.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments