---
description: In this article, we would like to introduce you 2 ways to restrict the editing of header and footer in your Word document.
title: 2 Ways to Restrict the Editing of Header and Footer in Your Word Document
image: https://www.datanumen.com/blogs/wp-content/uploads/2017/03/Click-Page-Layout-then-Click-Breaks-then-Choose-Continuous.jpg
---

 

* [ ](https://www.facebook.com/DataNumen)
* [ ](http://www.linkedin.com/company/datanumen)
* [ ](https://twitter.com/DataNumen)

[Home](https://www.datanumen.com/blogs/) \> [Solutions](https://www.datanumen.com/blogs/category/solutions/) \> [Office Solutions](https://www.datanumen.com/blogs/category/solutions/office-solutions/) \> [Word Solutions](https://www.datanumen.com/blogs/category/solutions/office-solutions/word-solutions/) \> 2 Ways to Restrict the Editing of Header and Footer in Your Word Document

# 2 Ways to Restrict the Editing of Header and Footer in Your Word Document

[Word Solutions](https://www.datanumen.com/blogs/category/solutions/office-solutions/word-solutions/)  September 28, 2025 

Share Now: 
* [ ](https://www.facebook.com/sharer.php?u=https%3A%2F%2Fwww.datanumen.com%2Fblogs%2F2-ways-restrict-editing-header-footer-word-document%2F)
* [ ](https://x.com/share?url=https%3A%2F%2Fwww.datanumen.com%2Fblogs%2F2-ways-restrict-editing-header-footer-word-document%2F&text=2+Ways+to+Restrict+the+Editing+of+Header+and+Footer+in+Your+Word+Document)
* [ ](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.datanumen.com%2Fblogs%2F2-ways-restrict-editing-header-footer-word-document%2F)
* [ ](javascript:void%28%28function%28%29%7Bvar%20e=document.createElement%28'script'%29;e.setAttribute%28'type','text/javascript'%29;e.setAttribute%28'charset','UTF-8'%29;e.setAttribute%28'src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random%28%29%2A99999999%29;document.body.appendChild%28e%29%7D%29%28%29%29;)
* [ ](https://www.reddit.com/submit?url=https%3A%2F%2Fwww.datanumen.com%2Fblogs%2F2-ways-restrict-editing-header-footer-word-document%2F&title=2+Ways+to+Restrict+the+Editing+of+Header+and+Footer+in+Your+Word+Document)
* [ ](https://www.tumblr.com/share/link?url=https%3A%2F%2Fwww.datanumen.com%2Fblogs%2F2-ways-restrict-editing-header-footer-word-document%2F)
* [ ](https://vk.com/share.php?url=https%3A%2F%2Fwww.datanumen.com%2Fblogs%2F2-ways-restrict-editing-header-footer-word-document%2F)
* [ ](https://www.xing.com/spi/shares/new?url=https%3A%2F%2Fwww.datanumen.com%2Fblogs%2F2-ways-restrict-editing-header-footer-word-document%2F)

_In this article, we would like to introduce you 2 ways to restrict the editing of header and footer in your Word document._

As we know, header and footer of a document should keep its integrity so as to make the formatting professional. Thus, it would be nice to develop ways to prevent header or footer from either intentional or accidental modification. As usual, here are 2 methods we suggest.

## Method 1: Restrict the Editing of Header and Footer Manually

1. To begin with, press “Ctrl+ Home” to go to the head of the document.
2. Next, click “Page Layout” tab.
3. Then click “Breaks” in “Page Setup” group.
4. And choose “Continuous” on the drop-down menu. ![Click "Page Layout"->Click "Breaks"->Choose "Continuous"](https://www.datanumen.com/blogs/wp-content/uploads/2017/03/Click-Page-Layout-then-Click-Breaks-then-Choose-Continuous.jpg "Click \"Page Layout\"->Click \"Breaks\"->Choose \"Continuous\"")

Now if you reveal all hidden marks, you shall see a continuous section break has been inserted.![Insert a section break]()

1. Next click “Review” tab then the “Restrict Editing” command to open the “Restrict Formatting and Editing” Pane on the right side of the screen.![Click "Review"->Click "Restrict Editing"]()
2. Check the “Allow only this type of editing in the document” box and select “Filling in forms” option.
3. Next click “Select sections” to invoke the “Section Protection” dialog box.
4. In that box, check only “Section 1” box and click “OK”.
5. Then click “Yes, Start Enforcing Protection”.![Check "Allow only this type of editing in the document" Box->Select "Filling in forms"->Click "Select sections"->Check "Section 1" Box->Click "OK"->Click "Yes, Start Enforcing Protection"]()
6. Finally, enter and reenter password then click “OK”.![Enter and reenter password->Click "OK"]()

By far, when you click on the header or footer area, you won’t be able to enter it.

## Method 2: Restrict the Editing of Header and Footer via VBA

1. Press “Alt+ F11” to open VBA editor first.
2. Then click “Normal” project and then “Insert” tab.
3. Select “Module” on the menu to insert anew one under “Normal” project.![Click "Normal"->Click "Insert"->Click "Module"]()
4. Double click the module to bring out the coding area and paste the following macro there:

Sub ProtectHeaderAndFooter()
  Selection.HomeKey Unit:=wdStory
 
  Selection.InsertBreak Type:=wdSectionBreakContinuous
  ActiveDocument.Sections(1).ProtectedForForms = True
 
  ActiveDocument.Protect wdAllowOnlyFormFields
End Sub

By the way, in case you need to batch process multi-document, paste this macro instead:

Sub ProtectHeaderAndFooterInMultiDoc()
  Dim objDoc As Document
  Dim strFile As String, strFolder As String
 
  '  Initialization
  strFolder = "C:\Users\Public\Documents\New folder\Test2\"
  strFile = Dir(strFolder & "*.docx", vbNormal)
 
  '  Precess each document in the folder.
  While strFile <> ""
    Set objDoc = Documents.Open(FileName:=strFolder & strFile)
 
    Selection.HomeKey Unit:=wdStory
 
    Selection.InsertBreak Type:=wdSectionBreakContinuous
    ActiveDocument.Sections(1).ProtectedForForms = True
 
    ActiveDocument.Protect wdAllowOnlyFormFields
 
    objDoc.Save
    objDoc.Close
    strFile = Dir()
  Wend
End Sub

**But remember to arrange all documents in the same folder before anything else. And replace the “C:\\Users\\Public\\Documents\\New folder\\Test2\\” with your actual folder path.**

1. Lastly, click “Run”.![Paste codes->Click "Run"]()

With the employ of macro way, there is no need to input password to protect header and footer.

## Cope with Document Issues

Word documents, like all other type of files, are easy victim of software corruption. Therefore, to secure your valuable documents and prevent them from inaccessible forever, you can take the kelp of a [docx fix](https://www.datanumen.com/word-repair/) tool.

## Author Introduction:

Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including [Excel corruption](https://www.datanumen.com/excel-repair/) and pdf repair software products. For more information visit [www.datanumen.com](https://www.datanumen.com/)

Share Now: 
* [ ](https://www.facebook.com/sharer.php?u=https%3A%2F%2Fwww.datanumen.com%2Fblogs%2F2-ways-restrict-editing-header-footer-word-document%2F)
* [ ](https://x.com/share?url=https%3A%2F%2Fwww.datanumen.com%2Fblogs%2F2-ways-restrict-editing-header-footer-word-document%2F&text=2+Ways+to+Restrict+the+Editing+of+Header+and+Footer+in+Your+Word+Document)
* [ ](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.datanumen.com%2Fblogs%2F2-ways-restrict-editing-header-footer-word-document%2F)
* [ ](javascript:void%28%28function%28%29%7Bvar%20e=document.createElement%28'script'%29;e.setAttribute%28'type','text/javascript'%29;e.setAttribute%28'charset','UTF-8'%29;e.setAttribute%28'src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random%28%29%2A99999999%29;document.body.appendChild%28e%29%7D%29%28%29%29;)
* [ ](https://www.reddit.com/submit?url=https%3A%2F%2Fwww.datanumen.com%2Fblogs%2F2-ways-restrict-editing-header-footer-word-document%2F&title=2+Ways+to+Restrict+the+Editing+of+Header+and+Footer+in+Your+Word+Document)
* [ ](https://www.tumblr.com/share/link?url=https%3A%2F%2Fwww.datanumen.com%2Fblogs%2F2-ways-restrict-editing-header-footer-word-document%2F)
* [ ](https://vk.com/share.php?url=https%3A%2F%2Fwww.datanumen.com%2Fblogs%2F2-ways-restrict-editing-header-footer-word-document%2F)
* [ ](https://www.xing.com/spi/shares/new?url=https%3A%2F%2Fwww.datanumen.com%2Fblogs%2F2-ways-restrict-editing-header-footer-word-document%2F)

[← Previous post](https://www.datanumen.com/blogs/hard-disk-drive-vs-solid-state-drive-vs-usb-flash-drive-lives-longer/)

[Next post →](https://www.datanumen.com/blogs/3-ways-quickly-insert-table-contents-word-document/)

Comments are closed.

![Data Recovery Blog]() 

Follow or like us on Facebook, LinkedIn and Twitter to get all promotions, latest news and updates on our products and company.

* [ ](https://www.facebook.com/DataNumen)
* [ ](http://www.linkedin.com/company/datanumen)
* [ ](https://twitter.com/DataNumen)

### Featured Products

* [DataNumen Outlook Repair](https://www.datanumen.com/outlook-repair/)
* [DataNumen SQL Recovery](https://www.datanumen.com/sql-recovery/)
* [DataNumen Exchange Recovery](https://www.datanumen.com/exchange-recovery/)
* [DataNumen Access Repair](https://www.datanumen.com/access-repair/)
* [DataNumen Excel Repair](https://www.datanumen.com/excel-repair/)
* [DataNumen PDF Repair](https://www.datanumen.com/pdf-repair/)
* [DataNumen Word Repair](https://www.datanumen.com/word-repair/)
* [DataNumen Zip Repair](https://www.datanumen.com/zip-repair/)

### Popular posts

[ ](#masthead)

```json
{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.datanumen.com\/blogs\/2-ways-restrict-editing-header-footer-word-document\/#article","isPartOf":{"@id":"https:\/\/www.datanumen.com\/blogs\/2-ways-restrict-editing-header-footer-word-document\/"},"author":{"name":"AuthorCCW","@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/person\/33ded6c47c77587f9158d99f05e23957"},"headline":"2 Ways to Restrict the Editing of Header and Footer in Your Word Document","datePublished":"2017-03-28T05:27:31+00:00","dateModified":"2025-09-28T15:50:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.datanumen.com\/blogs\/2-ways-restrict-editing-header-footer-word-document\/"},"wordCount":430,"commentCount":0,"publisher":{"@id":"https:\/\/www.datanumen.com\/blogs\/#organization"},"image":{"@id":"https:\/\/www.datanumen.com\/blogs\/2-ways-restrict-editing-header-footer-word-document\/#primaryimage"},"thumbnailUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/03\/Click-Page-Layout-then-Click-Breaks-then-Choose-Continuous.jpg","articleSection":["Word Solutions"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.datanumen.com\/blogs\/2-ways-restrict-editing-header-footer-word-document\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.datanumen.com\/blogs\/2-ways-restrict-editing-header-footer-word-document\/","url":"https:\/\/www.datanumen.com\/blogs\/2-ways-restrict-editing-header-footer-word-document\/","name":"2 Ways to Restrict the Editing of Header and Footer in Your Word Document","isPartOf":{"@id":"https:\/\/www.datanumen.com\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.datanumen.com\/blogs\/2-ways-restrict-editing-header-footer-word-document\/#primaryimage"},"image":{"@id":"https:\/\/www.datanumen.com\/blogs\/2-ways-restrict-editing-header-footer-word-document\/#primaryimage"},"thumbnailUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/03\/Click-Page-Layout-then-Click-Breaks-then-Choose-Continuous.jpg","datePublished":"2017-03-28T05:27:31+00:00","dateModified":"2025-09-28T15:50:49+00:00","description":"In this article, we would like to introduce you 2 ways to restrict the editing of header and footer in your Word document.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.datanumen.com\/blogs\/2-ways-restrict-editing-header-footer-word-document\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.datanumen.com\/blogs\/2-ways-restrict-editing-header-footer-word-document\/#primaryimage","url":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/03\/Click-Page-Layout-then-Click-Breaks-then-Choose-Continuous.jpg","contentUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/03\/Click-Page-Layout-then-Click-Breaks-then-Choose-Continuous.jpg","width":362,"height":518,"caption":"Click \"Page Layout\"->Click \"Breaks\"->Choose \"Continuous\""},{"@type":"WebSite","@id":"https:\/\/www.datanumen.com\/blogs\/#website","url":"https:\/\/www.datanumen.com\/blogs\/","name":"Data Recovery Blog","description":"Discuss every aspect of data recovery","publisher":{"@id":"https:\/\/www.datanumen.com\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.datanumen.com\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.datanumen.com\/blogs\/#organization","name":"Data Recovery Blog","url":"https:\/\/www.datanumen.com\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2019\/02\/logowithouttext.jpg","contentUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2019\/02\/logowithouttext.jpg","width":296,"height":397,"caption":"Data Recovery Blog"},"image":{"@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataNumen","https:\/\/x.com\/DataNumen","http:\/\/www.linkedin.com\/company\/datanumen","https:\/\/myspace.com\/datanumen\/","http:\/\/www.pinterest.com\/datanumen\/","https:\/\/www.youtube.com\/channel\/UCVIIuuKfUBHSJauUaVP13tw"]},{"@type":"Person","@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/person\/33ded6c47c77587f9158d99f05e23957","name":"AuthorCCW","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3516ed90fc242780d3947a989f895bc46e70c3e83485d30f2b457a007906aa58?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3516ed90fc242780d3947a989f895bc46e70c3e83485d30f2b457a007906aa58?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3516ed90fc242780d3947a989f895bc46e70c3e83485d30f2b457a007906aa58?s=96&d=mm&r=g","caption":"AuthorCCW"},"sameAs":["https:\/\/www.datanumen.com\/"]}]}
```
