Word 2016: Adding free text to ToC, page numbers suppressed

%3CLINGO-SUB%20id%3D%22lingo-sub-1525033%22%20slang%3D%22en-US%22%3EWord%202016%3A%20Adding%20free%20text%20to%20ToC%2C%20page%20numbers%20suppressed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1525033%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20guys%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20add%20text%20to%20a%20Word%202016-generated%20ToC%20-%20but%20with%20%3CSTRONG%3Epage%20numbers%20suppressed%3C%2FSTRONG%3E%20and%20have%20the%20text%20%3CSTRONG%3Eremain%20after%20updating%20the%20ToC%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20example%20in%20the%20screenshot%2C%20the%20text%20%22A%20huge%20potential%22%20(yellow%20background)%20would%20be%20the%20text%20I%20want%20to%20add%20(in%20reality%20it%20could%20be%20much%20longer%20than%203%20words)%20right%20below%20%22POTENTIAL%22.%20Note%20there%20is%20no%20page%20number.%20And%2C%20of%20course%2C%20it%20needs%20to%20stay%20there%20after%20the%20ToC%20is%20updated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20can%20this%20be%20done%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMuch%20obliged!%3C%2FP%3E%3CP%3ENathan%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Capture.JPG%22%20style%3D%22width%3A%20745px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F205596iAED22C4CCF2E6127%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Capture.JPG%22%20alt%3D%22Capture.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1535084%22%20slang%3D%22en-US%22%3ERe%3A%20Word%202016%3A%20Adding%20free%20text%20to%20ToC%2C%20page%20numbers%20suppressed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1535084%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F730068%22%20target%3D%22_blank%22%3E%40natlipson%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20make%20use%20of%20a%20TC%20field%20for%20which%20you%20suppress%20the%20page%20number.%20Add%20the%20%5Cn%20switch%20to%20the%20TC%20field%20to%20suppress%20its%20page%20number.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EEdit%20the%20TOC%20field%20code%20so%20that%20includes%20the%20%5Cf%20switch%20(to%20add%20entries%20created%20by%20TC%20fields).%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ScreenCap.PNG%22%20style%3D%22width%3A%20739px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F206764iB09BBF2EB615696E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22ScreenCap.PNG%22%20alt%3D%22ScreenCap.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1590355%22%20slang%3D%22en-US%22%3ERe%3A%20Word%202016%3A%20Adding%20free%20text%20to%20ToC%2C%20page%20numbers%20suppressed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1590355%22%20slang%3D%22en-US%22%3EThanks%20Stefan!%20I%E2%80%99ll%20check%20it.%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi guys,

 

I want to add text to a Word 2016-generated ToC - but with page numbers suppressed and have the text remain after updating the ToC.

 

In the example in the screenshot, the text "A huge potential" (yellow background) would be the text I want to add (in reality it could be much longer than 3 words) right below "POTENTIAL". Note there is no page number. And, of course, it needs to stay there after the ToC is updated.

 

How can this be done?

 

Much obliged!

Nathan

Capture.JPG

2 Replies
Highlighted

@natlipson 

You can make use of a TC field for which you suppress the page number. Add the \n switch to the TC field to suppress its page number.

 

Edit the TOC field code so that includes the \f switch (to add entries created by TC fields).ScreenCap.PNG

Highlighted
Thanks Stefan! I’ll check it.