TOC repeatedly dropping a Style

%3CLINGO-SUB%20id%3D%22lingo-sub-1786459%22%20slang%3D%22en-US%22%3ETOC%20repeatedly%20dropping%20a%20Style%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1786459%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20the%20TOC%20to%20include%20a%20Style%20called%20%22Legal%20Numbering%201%22.%26nbsp%3B%20No%20matter%20how%20many%20times%20I%20add%20it%20to%20the%20TOC%2C%20it%20only%20'sticks'%20after%20that%20first%20time%20I%20add%20it.%26nbsp%3B%20Every%20time%20I%20update%20the%20TOC%20thereafter%20it%20is%20gone%20and%20I%20have%20to%20go%20back%20into%20Custom%20TOC%20to%20re-add%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20happens%20regardless%20of%20who%20is%20editing%20the%20document.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1794990%22%20slang%3D%22en-US%22%3ERe%3A%20TOC%20repeatedly%20dropping%20a%20Style%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1794990%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F834371%22%20target%3D%22_blank%22%3E%40Zonda71%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20is%20no%20way%20to%20store%20custom%20settings%20in%20the%20Table%20of%20Contents%20dialog%20box%2C%20if%20that%20is%20what%20you%20are%20asking.%20Each%20time%20you%20revisit%20the%20dialog%20box%2C%20the%20defaults%20will%20come%20back.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat%20you%20can%20do%20is%20the%20following%3A%20Once%20you%20have%20inserted%20your%20TOC%2C%20you%20can%20select%20the%20whole%20TOC%20field%20and%20save%20it%20as%20an%20AutoText%20entry%20which%20you%20can%20then%20insert%20in%20other%20documents%20whenever%20you%20need%20this%20specific%20setup.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1797111%22%20slang%3D%22en-US%22%3ERe%3A%20TOC%20repeatedly%20dropping%20a%20Style%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1797111%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F501319%22%20target%3D%22_blank%22%3E%40Stefan_Blom%3C%2FA%3E%26nbsp%3BHi%2C%20Thanks%20for%20the%20answer.%26nbsp%3B%20I%20will%20try%20that%2C%20however%20just%20to%20clarify%2C%20the%20issue%20comes%20up%20when%20we%20click%20on%20the%20%22Update%20Table%22%20bit%20at%20the%20top%20of%20the%20TOC.%26nbsp%3B%20I'm%20only%20having%20to%20open%20the%20dialog%20box%20to%20fix%20the%20issue.%26nbsp%3B%20%26nbsp%3BRegards.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I want the TOC to include a Style called "Legal Numbering 1".  No matter how many times I add it to the TOC, it only 'sticks' after that first time I add it.  Every time I update the TOC thereafter it is gone and I have to go back into Custom TOC to re-add it.

 

This happens regardless of who is editing the document.

5 Replies

@Zonda71 

 

There is no way to store custom settings in the Table of Contents dialog box, if that is what you are asking. Each time you revisit the dialog box, the defaults will come back. 

 

What you can do is the following: Once you have inserted your TOC, you can select the whole TOC field and save it as an AutoText entry which you can then insert in other documents whenever you need this specific setup.

@Stefan_Blom Hi, Thanks for the answer.  I will try that, however just to clarify, the issue comes up when we click on the "Update Table" bit at the top of the TOC.  I'm only having to open the dialog box to fix the issue.   Regards.

If you press Alt+F9 (or Alt+Fn+F9 on some keyboards), what is shown in place of the TOC?

@Stefan_Blom  Hi, I get the following:

{TOC \o "1-3" \h \z \t "Legal Numbering 1;2"}

 

It is the Legal Numbering 1 style that drops out when I update the TOC.

@Zonda71 

 

The field code looks correct to me. Assuming that you have a paragraph style called "Legal Numbering 1," it should work properly.

 

Have you tried creating an AutoText entry that contains the field code? You will then have to insert the AutoText to re-create the TOC in another document. Of course, that document must also contain text formatted in the "Legal Numbering 1" style.