S
Susan Glass
Hi,
I would like to be able to number paragraphs within a Word
document in a way that is based solely on the sequence of creation of
the paragraphs, and not on their location within the document. More
specifically, I am writing a Requirements document that can have
several hundred "Requirement" items/paragraphs in it. I want each
paragraph to be given a number when it is created that is unique
within the document, and then I want this number NEVER to change, even
if the paragraph is moved to a different location within the document.
This will allow us to make additons/deletions/other changes to the
document without changing our references to each paragraph.
I don't believe that any of the auto-numbering (bullets,
numbered, outline) tools in Word will work for this, because they
depend on location within the document and change as paragraphs with
the same style are added or removed. I started doing some research
and thought that maybe I could use a custom document property to store
the next number available, and then create a "Requirement" style that
somehow automatically entered the next number in the sequence and
incremented the custom property. I'm guessing that this is possible
to do with vba although I have not explored it yet.
I would like to know if people have any general or specific ideas
for how I can get my numbering to work, and/or if they think I am on
the right track with the document property idea or have suggestions on
implementing this idea. If there's a more appropriate usergroup I can
ask for information, I would like to know. I would appreciate any
help on this.
Thanks very much,
Susan
I would like to be able to number paragraphs within a Word
document in a way that is based solely on the sequence of creation of
the paragraphs, and not on their location within the document. More
specifically, I am writing a Requirements document that can have
several hundred "Requirement" items/paragraphs in it. I want each
paragraph to be given a number when it is created that is unique
within the document, and then I want this number NEVER to change, even
if the paragraph is moved to a different location within the document.
This will allow us to make additons/deletions/other changes to the
document without changing our references to each paragraph.
I don't believe that any of the auto-numbering (bullets,
numbered, outline) tools in Word will work for this, because they
depend on location within the document and change as paragraphs with
the same style are added or removed. I started doing some research
and thought that maybe I could use a custom document property to store
the next number available, and then create a "Requirement" style that
somehow automatically entered the next number in the sequence and
incremented the custom property. I'm guessing that this is possible
to do with vba although I have not explored it yet.
I would like to know if people have any general or specific ideas
for how I can get my numbering to work, and/or if they think I am on
the right track with the document property idea or have suggestions on
implementing this idea. If there's a more appropriate usergroup I can
ask for information, I would like to know. I would appreciate any
help on this.
Thanks very much,
Susan