killoleo.blogg.se

How to add section headings in microsoft word
How to add section headings in microsoft word







  1. #How to add section headings in microsoft word update#
  2. #How to add section headings in microsoft word code#

#How to add section headings in microsoft word code#

The Alt-Shift-O method inserts a TC field code to be used by the TOC field code when a table of contents is generated. For example, you could have a ToC for each of several appendices by including a TOC field code for each one with the \b switch limiting the range to just the contents of a given appendix. This method can be used to create multiple tables of contents. In your case, since your T&Cs are included at the end, your bookmark range should probably include just up to the first heading within the T&C section so it gets included in the table of contents. The results will now only include entries for heading levels 1 through 3 found within the bookmarked range.

#How to add section headings in microsoft word update#

Toggle the view back and press F9 to update the TOC field. It will end up looking something like this:

how to add section headings in microsoft word

Now edit the TOC field code (Alt-F9 toggles the display between the result and the code) to add the switch. For discussion, say I used the name “UseInToC”. Select the part of your document you wish to have included in the table of contents and assign a bookmark name (Insert > Links > Bookmark). This is particularly true in a multi-user environment, or if you want to maintain several quite distinctly different document layouts.Ĭlare: You can isolate the range of a table of contents by using the “\b BookmarkName” switch within the TOC field code. It is better practice to attach a custom template so you can be sure the style definitions are retained and can be archived with the document(s) associated with them. This will work, but it can create future problems if a different document based on Normal used different settings - and then you re-opened this one. Your instructions cause the TOC styles to be modified for the default template (Normal.dotx). Worse, subsequent levels based on TOC 3 will change as well.Ģ. For some obscure reason, the default is “on” - but with it turned on, any direct formatting change made by a user to an instance of that style will automatically change the style definition! So, if a user decided to make a given TOC 3 line italic, all TOC 3 lines will suddenly become italic. In the Modify Style dialog, be sure to turn off the “Automatically update” checkbox. However, there are two additional points I’d make:ġ. Your method is identical to modifying the TOC x styles with the Modify Style dialog - although I grant that accessing it through the ToC dialog may seem more intuitive.









How to add section headings in microsoft word