G
groupsRgreat
I am trying to write a macro that will automatically number
requirements in a document.
----------------------------------------
My goal is the having the following output:
1.1 Paragraph Heading
The system shall[1.1-1]...
The system shall[1.1-2]...
1.2
The system shall[1.2-1]...
----------------------------------------
I have two questions:
1) Is there a way for VBA to get access to the auto generated numbers
(1.1 and 1.2 in the examples above)? I haven't found a method/property
that will provide access to the number.
2) Is there an easy/preferred way to restart the requirement number at
1 for each major paragraph. I had to insert a section break in order
to accomplish this. I think there is a better way that will avoid me
having to insert a section break into the document.
Any help would be appreciated. Thanks in advance.
requirements in a document.
----------------------------------------
My goal is the having the following output:
1.1 Paragraph Heading
The system shall[1.1-1]...
The system shall[1.1-2]...
1.2
The system shall[1.2-1]...
----------------------------------------
I have two questions:
1) Is there a way for VBA to get access to the auto generated numbers
(1.1 and 1.2 in the examples above)? I haven't found a method/property
that will provide access to the number.
2) Is there an easy/preferred way to restart the requirement number at
1 for each major paragraph. I had to insert a section break in order
to accomplish this. I think there is a better way that will avoid me
having to insert a section break into the document.
Any help would be appreciated. Thanks in advance.