If you want to remove heading styles from the entire document, use Ctrl+A to select all content in the document. Double-click the header of the home page, and click the Header and Footer Options in the Header/Footer tab, then you will see a pop-up dialog box.
Instead of modifying the properties of the style, I stumbled across a very easy way to do this: Highlight the text. My current attempt: doc.Sections(1).Headers().Range. Without further ado, below are the various ways you can I already created a copy of my Heading 1 style in the past which should have excluded it from the TOC but somehow the style was modified along the way. Id like to remove the page header and footer from my active Word document (using VB.NET / VSTO). Heading styles also helps if you want to insert an automatic table of Content into your document.ĭespite all these awesome things heading styles can do, you may want to remove it in your Word document for some reason. Things like collapse and expand content under each heading. On the Layout tab, under the section Headers and Footers, select the Different first page check box. These styles are very handy as it allows you to applyĬhanges to all your headings at once. On the Page Layout tab, click the Page Setup dialog-box-launcher icon. Microsoft Word comes with a library of heading styles you can use in your document. After deleting the header content, the header itself will disappear from all your pages. Then select all the content in the header and hit the delete key. Option 2: Clear all the header content to remove the header in WordĪnother way to delete header in Word is to double-click on the header area to make it editable.
This is how you may exit headers in Microsoft Word.