How do I get my page count to not count my title page? (How do I offset the page count?)

From Apache OpenOffice Wiki
Jump to: navigation, search


How do I get my page count to not count my title page? (How do I offset the page count?)


If you have a title page or cover page in your document, Writer's "page count" field still counts those pages and will be too high.

Unfortunately, you can't offset the "page count" field. So we're going to use a formula, instead, to insert a proper page count. Here's what you need to do:

  1. Place the cursor where you want to insert the page count (perhaps in your header).
  2. Press the  F2  key to bring up the formula bar. Type in the formula "=page - 1" (the "=" will already be in there). The "page" variable is the number of pages in the document, not the page you're currently on. Subtract the number of pages that you don't want to have counted in the page count (in this example, 1, for a title page).
  3. Press the  ↵ Enter  key to insert the formula.
  4. Choose Tools → Update → Fields from the menu (or press  F9 ) to force the formula to refresh. (Otherwise, the page count formula will just be 0.)
  5. To edit this formula again later, place the cursor immediately before the formula, and press  F2 .
Documentation note.png Every time the page count changes, you'll need to refresh the formula again.


Personal tools