Fields and Numbering

R

Rob

Hi all,

Background:
I work for a department that generates large documents. Each chapter
is created as a separate file. The prescribed format at the beginning
of page 1 is (all items are centred)
Section 2 (crlf)
Chapter 1 (crlf)
This is the title of Chapter 1

I intially modified Heading 1 and Heading 2 to reflect Section and
Chapter respectively. Each paragraph, figure and table have their
numbering set dependant on the chpater number (eg 1-1) All of this had
been hand set prior to working on this template! As a result I did
not want the users of the template to modify numbering each time to
"Start At XX"

I then decided to use a UserForm to gather relavant information and
store it in document properties, and used two fields to implement
numbering DOCPROPERTY-SEQ. This works OK although I am still
determining how to update these fields when a user deletes a paragraph
(new to the world of VBA for word).

Question:
Would I be better off going back to heading styles and (if possible)
programatically changing the "Start At" number for the ListTemplate or
do I persist with the field based option?

Cheers
Rob
 
C

Cindy M -WordMVP-

Hi Rob,

I expect this is a matter of taste, influenced by the particular
circumstances of a project.

FWIW, I've worked on two book projects where VBA was used to set the
Start At for Heading numbering, and it worked well. The only problems I
ever encountered was when the template (or its documents) - created in
Word 97 - were "jumped" to Word 2002/2003. They had a tendency to become
unstable, so I ended up recreating the template from a "clean"
normal.dot
Background:
I work for a department that generates large documents. Each chapter
is created as a separate file. The prescribed format at the beginning
of page 1 is (all items are centred)
Section 2 (crlf)
Chapter 1 (crlf)
This is the title of Chapter 1

I intially modified Heading 1 and Heading 2 to reflect Section and
Chapter respectively. Each paragraph, figure and table have their
numbering set dependant on the chpater number (eg 1-1) All of this had
been hand set prior to working on this template! As a result I did
not want the users of the template to modify numbering each time to
"Start At XX"

I then decided to use a UserForm to gather relavant information and
store it in document properties, and used two fields to implement
numbering DOCPROPERTY-SEQ. This works OK although I am still
determining how to update these fields when a user deletes a paragraph
(new to the world of VBA for word).

Question:
Would I be better off going back to heading styles and (if possible)
programatically changing the "Start At" number for the ListTemplate or
do I persist with the field based option?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top