Home > Computer Tutorials > Computer Knowledge > How to remove header and footer in Word?

How to remove header and footer in Word?

WBOY
Release: 2024-02-26 10:00:46
forward
1899 people have browsed it

In this article, we will show you how to remove the header and footer of a document in Microsoft Word.

How to delete header and footer in Word?

Here are the different ways to remove headers and footers from a document in Microsoft Word:

  • Use the Delete Header/Delete Footer function.
  • Use the Delete key to clear all headers and footers from the document.
  • Use the "Inspect Document" function to remove headers and footers.
  • Use VBA script to remove header and footer.
  • 1]Use the Delete Header/Delete Footer function

    How to remove header and footer in Word?

    To remove headers and footers from selected pages of the active document, you can take advantage of the dedicated options provided by Word. These options include Remove Header and Remove Footer functionality. Using these features is easy:

    • First, open the source document and go to the page from which you want to remove the header or footer.
    • Now, click on the Header section and move to the Header Footer tab.
    • Next, click the Header drop-down button.
    • After that, select the Remove Header option.
    • Repeat the same steps for the footer.

    Although this method is the most direct and convenient, some users have reported that this method does not work at a certain stage. At this point, you may consider trying another method described in this post to remove headers and footers.

    2]Use the Delete key to clear all headers and footers from the document

    To delete all headers and footers in a Word document, you can do this by deleting the content in the header and footer areas. This is especially useful when there are multiple identical headers and footers in the document. You can delete header or footer areas by selecting them and pressing the Delete key. This method is simple and effective and can help quickly remove all headers and footers from your document.

    • First, open a document and double-click the header section of the first page.
    • From the Header and Footer tab, uncheck the Different first page and Different odd and even pages checkboxes.
    • Now, select the content of the header and press the Delete key on your keyboard.
    • Finally, click Close Header and Footer option.
    • Again, use the same method to remove the footer.

    Read: How to insert header and footer in Word document?

    3] Use the inspect document function to remove headers and footers

    Another way to remove headers and footers from a document is to use Word's "Inspect Document" feature. Here's how to use this feature:

    First, open a document and go to File>Info options.

    How to remove header and footer in Word?

    Now, click on the Check for Issues drop-down option. Next, select the Inspect Document option.

    How to remove header and footer in Word?

    After that, in the "Document Inspector" dialog window, check the "Header, Footer, and Watermark" checkbox.

    Then, press the Check button to let it check all headers, footers, and watermarks in the document.

    How to remove header and footer in Word?

    After the check is completed, click the Remove All button to clear all headers and footers.

    If the header and footer contain watermarks, they will also be removed.

    4] Use VBA script to remove header and footer

    You can also use JavaScript scripts to remove headers and footers in Microsoft Word. The specific operations are as follows:

    First, open the source document in Microsoft Word.

    Next, go to the Developer tab and click on the Visual Basic option, or press Alt F11 to open the Visual Basic for Applications (VBA) editor.

    Now, click on the Insert Module option and enter the following script in the module window:

    How to remove header and footer in Word?

    SubRemoveHeadersAndFootersFromWordDocument()
    尺寸截面作为截面
    Dim headerRange As Range
    尺寸页脚范围作为范围
    '遍历文档中的每个部分
    对于ActiveDocument中的每个节。节
    '删除标题
    Set headerRange = section.Headers(wdHeaderFooterPrimary).Range
    headerRange.Delete
    '删除页脚
    Set footerRange = section.Footers(wdHeaderFooterPrimary).Range
    footerRange.Delete
    下节
    End Sub
    Copy after login

    When finished, close the VBA editor window.

    How to remove header and footer in Word?

    Now, click on the Developer>Macros option, select the created macro and press the Run button to run the VBA script. This will remove all headers and footers present in the active document.

    So, these are the various methods to clear header and footer in Word document. If you cannot remove the header and footer using regular methods, you can use another method like checking the document or VBA script to remove the header and footer.

    Why can't I delete my title in Word?

    There may be several reasons why you cannot delete headers and footers in Word documents. This may be because the document is protected or you do not have the required permissions to edit headers and footers. Additionally, you may have problems removing headers and footers in Word if they link to different sections or if there is hidden content in the header or footer.

    How to remove headers and footers from documents?

    If you want to delete the header and footer in Google Docs, you can double-click the header part. After that, use CTRL A to select everything and press Delete key. Alternatively, click the Options drop-down button and select the Remove header option. Similarly, you can also delete the footer in Google Docs.

    Now read: How to lock and protect Header and Footer in Word?

    The above is the detailed content of How to remove header and footer in Word?. For more information, please follow other related articles on the PHP Chinese website!

    Related labels:
    source:mryunwei.com
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template