
StrFolder = "C:\Users\Public\Documents\New folder\Test2\" Selection.InsertBreak Type:=wdSectionBreakContinuousĪctiveDocument.Sections(1).ProtectedForForms = TrueĪctiveDocument.Protect wdAllowOnlyFormFieldsīy the way, in case you need to batch process multi-document, paste this macro instead: Sub ProtectHeaderAndFooterInMultiDoc()ĭim strFile As String, strFolder As String Double click the module to bring out the coding area and paste the following macro there:.Select “Module” on the menu to insert anew one under “Normal” project.


Then click “Breaks” in “Page Setup” group.To begin with, press “Ctrl+ Home” to go to the head of the document.Method 1: Restrict the Editing of Header and Footer Manually Thus, it would be nice to develop ways to prevent header or footer from either intentional or accidental modification.


In this article, we would like to introduce you 2 ways to restrict the editing of header and footer in your Word document.Īs we know, header and footer of a document should keep its integrity so as to make the formatting professional.
