![clear contents word table clear contents word table](https://helpdeskgeek.com/wp-content/pictures/2020/01/clear-recently-opened-files-list-word-featured.png)
If we want to remove the table of contents, click the Table of Contents drop-down menu and choose Remove Table of Contents.
![clear contents word table clear contents word table](https://cybertext.files.wordpress.com/2009/04/tab_stops.png)
For example, Heading 2 is indented from Heading 1, while Heading 3 is indented from Heading 2, etc.īy changing the level of the heading, the corresponding heading level shown in the table of contents would also change.įor example, when the title in Heading 1 is changed to Heading 2, the title would align with the Heading 2 level. In most situations, the heading in the table of contents presents corresponding levels. Then, when returning to the table of contents, we can hold down Ctrl and click to follow the link.Ĭlick Options for advanced settings of the table of contents. The effect preview is shown in the Print Preview interface on the right-hand side of the screen.Ĭheck the Use Hyperlinks option.
![clear contents word table clear contents word table](https://knowl365.com/wp-content/uploads/2020/12/Table-1-or-2-1.png)
We can also change way of alignment for page numbers. Where we can change the Tab leader and the Show levels. If we want to customize the contents, click the Table o f Contents dropdown menu and click Insert Table o f Contents to pop up a dialog, Since we have Heading 1, Heading 2, and Heading 3 in the article, in order to show all the three levels, we should choose the third style from the list. In the dropdown menu, we can choose from three styles of the table of contents, whi ch presents in different layouts. Get into the Reference tab, and click Table of Contents. In WPS, we can insert a table of contents in a convenient way.Ĭlick the blank page inserted at the beginning of the article. It can help readers to get the outline quickly and locate the target part. margins, headers, footers) than the following Section.A table of contents, also called TOC, is a significant part of an article.
#Clear contents word table code
The above code both deletes the TOC and the Section it's in, also taking account (as one should) of the possibility that the TOC Section may have a different page setup (e.g. FormattedText = Sctn1.Headers(oHdFt.Index).Range.FormattedText OHdFt.LinkToPrevious = Sctn1.Headers(oHdFt.Index).LinkToPrevious FormattedText = Sctn1.Footers(oHdFt.Index).Range.FormattedTextĭo While. In the Styles section, click on the Styles Pane button found to the right of the available styles.
#Clear contents word table windows
To select all the text in your document, press Ctrl+A on Windows or Command+A on Mac. OHdFt.LinkToPrevious = Sctn1.Footers(oHdFt.Index).LinkToPrevious To clear formatting from content, select the text for which you want to clear formatting. DifferentFirstPageHeaderFooter = lDiffFirstHdFt OddAndEvenPagesHeaderFooter = lOddEvenHdFt Quite different - and vastly more complex - code wouldĭim sPageHght As Single, sPageWdth As Singleĭim sHeaderDist As Single, sFooterDist As Singleĭim sTMargin As Single, sBMargin As Singleĭim sLMargin As Single, sRMargin As Singleĭim sGutter As Single, sGutterPos As Singleĭim lPaperSize As Long, lGutterStyle As Longĭim lMirrorMargins As Long, lVerticalAlignment As Longĭim lOddEvenHdFt As Long, lDiffFirstHdFt As Longĭim bTwoPagesOnOne As Boolean, bBkFldPrnt As Booleanĭim bBkFldPrnShts As Boolean, bBkFldRevPrnt As Booleanĭim bOrientation As Boolean, oHdFt As HeaderFooter That is really no advance on the OP's code and doesn't address the related issue the OP was having trouble with, namely: deleting the associated Section, along with its headers & footers.