• Page Numbering (Word97,SR2,WINNT SR5)

    Author
    Topic
    #368629

    Down to basics:
    15 page document containing continuous and new page section breaks.
    13 Sections in all.
    Document is intended to be protected for forms for sections 2,4,6,8,10.
    Page numbering in first few sections of 7 pages is OK up until the fifth page, when the page number mysteriously reverts to page 2.
    All section breaks have been cleared of Different first page.
    The insert page number format has been checked for continuous from previous section, yet still the page reverts to page 2.
    The status in the bottom left of the window indicates:
    Page 2 Sec 6 5/15
    Page 2 remains as the default page number for the next few sections.
    I have removed all “same as previous” headerfooter setups.
    As recommended by Redmonds finest, I have protected and unprotected the form, but to no avail.

    Any suggestions??

    Even the squirrels are laughing at me, but I’m not paranoid, not yet.

    Alan
    Cheshire
    UK

    Viewing 1 reply thread
    Author
    Replies
    • #578176

      I’m not sure I remember how much Word97 page numbering, footers and sections differ from Word 2000, but here’s a thought from the Word2000 perspective…

      Every section contains a footer, but in the Word interface, you only have access to view the footers that are actually used. Thus, for example, if a section 5 (marked with continuous breaks), appears in the middle of page 3, you will not be able to see the footer for section 5 in the VIew | Headers and Footers pane. You may want to add some page breaks in each section to ensure that, as you scroll through all the footers in your document, you see the footers for every section in your document.

      There could be something evil lurking in a hidden footer (such as a page numbering option to start numbering at “2” for that section).

      oops. did i say “evil lurking”? and weren’t you concerned about developing paranoia?

    • #578183

      Just to be really sure, try running this macro to report all the starting page numbers:

      Sub SectionStartPages()
      Dim sect As Section
      For Each sect In ActiveDocument.Sections
          Debug.Print "Section: " & sect.Index, _
                  "Number from: " & _
                  sect.Headers(wdHeaderFooterPrimary).PageNumbers.StartingNumber
      Next
      End Sub

      “0” indicates continuous from previous section.

      If you find that you need to reset a section to continuous, you can do it in the Immediate Window, with:

      ActiveDocument.Sections(number).Headers(wdHeaderFooterPrimary).PageNumbers.StartingNumber = 0

      (Copy and paste might be the best strategy for that one!)

      • #578568

        Jefferson: I haven’t tried the code yet but I’m sure it’ll sort out the section page numbering. Unfortunately, the document has many (23 at last count) sections some of which are continuous and to restart the page numbering for each section would not be the exact solution. (think of the document like a book of many chapters, each chapter containing several sections. Although the sections change, I want to retain an order of numbers for the chapter). Many many thanks anyway and I will be using that code on a.n.other project.
        Hubert, I know you all think I’m para, but I’m not. ‘Evil lurking’? You hit the nail on the head!!! Strangely, as the first section had been set with first page different, the subsequent sections (continuous OR new – it didn’t matter) inherited the same page setup for the header footers (same as previous in HF view). Even after unchecking the same as previous and unchecking the different first page the page numbering was all awry. The ultimate solution to the problem was to change ALL of the section breaks to new page, set each section with not same as previous and not different first page, then enter the page number on each first section page ensuring the format was as required i.e. continue previous section or restart at 1.
        It was evil incarnate and I have consigned it to the fires of Redmond.
        It’s a conspiracy I tell you.

        Thanks again

        Alan
        Cheshire
        UK

    Viewing 1 reply thread
    Reply To: Page Numbering (Word97,SR2,WINNT SR5)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: