+ Reply to Thread
Results 1 to 3 of 3

Permanent Solution for Heading Number Corruption (Black Boxes)?

  1. #1
    Registered User
    Join Date
    11-14-2019
    Location
    Florida
    MS-Off Ver
    Office 2016
    Posts
    6

    Permanent Solution for Heading Number Corruption (Black Boxes)?

    I’m working with a newly updated template (.dot) and now new documents created with the template are experiencing the Heading Number black box issue (see attached).

    The issue only pops up after saving and reopening the new document (doesn’t show up on initial creation). Reapplying the style (using Apply Styles dialog [Ctrl+Shift+S]) fixes the issue, but once the document is reopened the corruption returns.

    Setting the style to automatically update (via Developer > Document Template) fixes the issue, but there are occasions where changes are made to the headings in a particular document (e.g., adjusting the spacing before and/or after) that I don’t want to be undone upon reopening the document.

    Also, the issue happens with EVERY new document created by double clicking on my updated template, so I imagine there must be some issue in the template that is causing the problem.

    Anyone here have a “permanent” fix for this? I’ve gone through several threads on the interwebs, and none of the solutions have worked.

    Attachment 662200

  2. #2
    Registered User
    Join Date
    11-14-2019
    Location
    Florida
    MS-Off Ver
    Office 2016
    Posts
    6

    Re: Permanent Solution for Heading Number Corruption (Black Boxes)?

    Somehow I deleted the image attachment. Reposting here.
    Attachment 662212

  3. #3
    Registered User
    Join Date
    11-14-2019
    Location
    Florida
    MS-Off Ver
    Office 2016
    Posts
    6

    Re: Permanent Solution for Heading Number Corruption (Black Boxes)?

    A solution was found - the following macro run in the corrupted document appears to have permanently fixed the issue.

    Sub ResetHeadings()
    For Each templ In ActiveDocument.ListTemplates
    For Each lev In templ.ListLevels
    lev.Font.Reset
    Next lev
    Next templ
    End Sub

    Credit to Doug Robbins on the Microsoft Office forum for macro (couldn't post link to page).

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Giving permanent number tags to unique values in a list
    By pcopeland in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-27-2018, 10:31 AM
  2. Permanent Account Number (PAN) Validation
    By keshavmundhra in forum Excel General
    Replies: 13
    Last Post: 07-28-2017, 09:16 AM
  3. Automatic permanent date and invoice number
    By KOBBY123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-13-2016, 03:20 AM
  4. Dynamic, permanent solution needed
    By noobasaurus in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-29-2014, 09:05 AM
  5. The mysterious black boxes
    By sperrysperry in forum Excel General
    Replies: 2
    Last Post: 02-24-2014, 09:18 PM
  6. [SOLVED] Sub-heading stuck at same heading number
    By Hallet in forum Word Formatting & General
    Replies: 1
    Last Post: 06-01-2012, 08:16 AM
  7. Shading Boxes (white/black) in a Report
    By cmf0106 in forum Excel General
    Replies: 2
    Last Post: 11-20-2009, 10:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1