Thread: [Solved] HELP: Binary page numbering
View Single Post
 
Old 03-26-2014, 04:17 PM
Charles Kenyon Charles Kenyon is offline Windows 7 64bit Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,530
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

There is no simple function in Word to do this.

You could use a nested IF Field. This field reports a page number as binary up to page 4 (100 binary):

{ If { page } = “1” “1” { If { page } = "2" "10" { If { page } = "3" "11" { If { page } = "4" "100" { page }}}}}

If the page number is greater than 4, it reports in decimal; that is the final page field. The field delimeters { } cannot simply be typed in. They are inserted in pairs using Ctrl+F9.

A document containing the field is attached. Note the field in the footer.

There is a limit to how deep IF fields can be nested. This one has four levels. If you are going to have more than eight, I would recommend having a separate nested field for each eight pages, without the final page field.

Here is the syntax for the IF field.

Have fun. Something similar could be done with the NumPages field so you could have Page 1 of 100 for a four-page report. That is left as an exercise for the student.
Attached Files
File Type: docx deleteme.docx (28.3 KB, 8 views)

Last edited by Charles Kenyon; 03-26-2014 at 04:20 PM. Reason: forgot attachment
Reply With Quote