Results 1 to 4 of 4
  1. #1
    Star Lounger
    Join Date
    May 2005
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Paragraph Numbering (Word XP)

    Does anyone have a method/program for numbering paragraphs in Word XP in this format, [00001], [00002], etc.? Thanks.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Paragraph Numbering (Word XP)

    I don't think the standard paragraph numbering methods provide for such a format. You could use a SEQ field:
    - Position the insertion point at the beginning of the first paragraph to be numbered.
    - Press Ctrl+F9 to insert field brackets { }.
    - Type SEQ A # "[00000]" between the brackets.
    - Press F9 to hide the field codes and to update the field.
    - Copy / paste the field to each of the other paragraphs..
    - You can also make the field into an AutoText entry

  3. #3
    Star Lounger
    Join Date
    May 2005
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Paragraph Numbering (Word XP)

    Actually, I probably put this in the wrong forum. Since I wrote my post, I have come up with a fairly simplistic bit of code that will work, provided that the person with the document has carefully used Word's Styles. I need to refine this so that I end up with the brackets around the number, but for now at least I have hope. Thanks for your quick reply. Below is my procedure.

    Sub AddingNumbersToParagraphs()

    Dim para As Paragraph

    Dim paranumber As Integer

    paranumber = 1

    For Each para In ActiveDocument.Paragraphs

    If para.Style = "Normal" Then
    para.Range.InsertBefore Format(paranumber, "0000# ")
    paranumber = paranumber + 1

    End If

    Next para

    End Sub

  4. #4
    Star Lounger
    Join Date
    May 2005
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Paragraph Numbering (Word XP)

    I just used the SEQ number system that you gave me and see that this works well and that there is a possibility of pasting the sequence numbers programmically. By the way, this numbering problem is for numbering paragraphs, rather than using the line numbering in certain legal documents. Thanks for your help!!!

Posting Permissions

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