How To Hide Some Page Numbers In A Word Document

How To Hide Some Page Numbers In A Word Document

Guess what? You can create Word documents in Microsoft Word with different levels of complexities. Let us say you want to skip a certain page number or you want to add some tables with images inside etc. All this is possible but for some of these functionalities, you need to use formulas for these things to happen. Given you want to hide some of the page numbers not to appear in the documents you can use the following formula:

Advertisements

{ IF “Expression1” Operator “Expression2” “Text if formula is TRUE” “Text if formula is FALSE”}

Let us say you want to hide page 7 in your word document as shown in the screenshot below:

Advertisements
Skip page numbers
  1. Instead of the automatically added page numbers, click Ctrl+F9 to add the special brackets:

{ }

2. Enter IF and then again click Ctrl+9 to add PAGE field to get the current page number:

{ IF { PAGE }}

3. Enter <> (not equal) and then the number of the page in quotes that you want to hide, in this example, “7” :

{ IF { PAGE } <> “7”}

4. Add the text that you want to see for pages with the number, not equal 7 in quotes:

{ IF { PAGE } <> “7” “Page{PAGE}”}

You can add text for the page number 7 (Text if the formula is FALSE) in quotes, if necessary.

5. Format text in quotes if needed, for example:

{ IF { PAGE } <> “7” ” Page | {PAGE}”}

6. Right-click on the field and choose Toggle Field Codes:

Toggle Field Codes

So, you will see numbers for all pages, excluding the page number 7 as shown in the screenshot above.

Advertisements

You might also like

Leave a Reply

Your email address will not be published.