Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Jan 2002
    Location
    Arlington, Virginia, Thailand
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Number of Sections field? (Word 2000)

    I'm sorry if this is a repeat, but the search function for the Lounge was broken when I got here today. Please forgive me.

    I'm trying to insert an automatically updated bit of information in the document, which implies a field, perhaps an equation: This document contains {NumberOfSections} sections.

    Does anyone have any suggestions about how to do this? Thanks in advance for the favor or any reply.

  2. #2
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Number of Sections field? (Word 2000)

    There's no easy way to do this, but if you have a { SECTION } field in the last section of the document then you could bookmark it and use a { REF } field.

    StuartR

  3. #3
    Lounger
    Join Date
    Jan 2001
    Posts
    42
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Number of Sections field? (Word 2000)

    If you wanted to use a Macro based solution, you could use the following line
    ActiveDocument.Sections.Count
    I'm not sure if you're looking for a VBA solution, but used properly, this could be automated or manually run from a toolbar button.

    Just and idea

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •