Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Numbering / August 2005

Tip: Looking for answers? Try searching our database.

Outline numbering with prefix

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cybertoast - 05 Aug 2005 17:30 GMT
Is there a way to assign a prefix to all the level of an outline
numbered list? I need to do it using a style, so that I can
conveniently assign a prefix to all the numbers of the list.

For example, my list might be:
doc1.1: blah
doc1.1.1: blah1
doc1.1.1.1: blah2
doc1.2: blah

I know I can do it manually, by setting the prefix "doc1." and the
suffix ":" for each level of my custom outline numbered list. However,
I'd like to actually have word get the prefix value from a single point
so I don't have to go change it in each of the sub-levels.

If possible, it would be very convenient to have this be a field that
is defined in the document somewhere. The idea being that I can have
this be part of a template, and the prefix would change automatically
based on the document (eg. doc1, doc2, doc3, etc.).

Also, is there a way to "customize" the numbering style - eg. I want to
have 1.001, 1.002, etc for sub-levels. I see options for a single 0
prefix, but how about multiple?

Thanks much
John McGhie [MVP - Word and Word Macintosh] - 07 Aug 2005 07:10 GMT
Hmmm...  Not easy.

As you have discovered, you can add a prefix to each level of an Outline
numbered list, and attach that List Template to a set of styles, using
Modify Style...

However, you want to both add a prefix and use an edit code for the second
level.  I think you need to abandon Outline numbering for Field-based
numbering.

You can then use a combination of a {DocProperty} field to bring in your
prefix and SEQ fields to do your numbering.  You can look both of these up
in the Word 2003 Help.

To produce your leading zeros you need a Numeric Picture switch.  You can
look that up in the help also.    The help for the SEQ field refers to
ListNum fields: these are "usually" a better alternative, but you can't use
them because they won't take a Numeric Picture switch.

For example {DOCPROPERTY Source}.{SEQ MyList \# 000 }: will print Doc1.0001:
provided that the document property Source is set to "Doc1".

Again, look up Document Properties in the Help.

There are several "considerations" to this approach.

The first is that this is advance Word use.  Fine if it's YOU doing it, but
I would not have much hope of teaching corporate office workers to do it
reliably.

Secondly:  SEQ fields do not update automatically: you have to select all
text and manually update fields with F9 to get them to update.

And third: constructing outline numbering using SEQ fields is complex.

You need a different SEQ "identifier" for each level of your outline.  You
can use the "\s" list to reset the list at the occurrence of the heading
level above it, or the "\r" switch to reset it yourself.  When you get the
set constructed, save each level as an autotext so you can re-use them.

Get back to us if you need a specific example.

Hope this helps

On 6/8/05 2:30 AM, in article
1123259422.883767.257110@g14g2000cwa.googlegroups.com, "cybertoast"

> Is there a way to assign a prefix to all the level of an outline
> numbered list? I need to do it using a style, so that I can
[quoted text clipped - 21 lines]
>
> Thanks much

Signature

Please reply to the newsgroup to maintain the thread.  Please do not email
me unless I ask you to.

John McGhie <john@mcghie.name>
Microsoft MVP, Word and Word for Macintosh.  Consultant Technical Writer
Sydney, Australia +61 4 1209 1410

cybertoast - 08 Aug 2005 15:49 GMT
Wow, not quite the straightforward solution I was thinking this might
be :-) I'll give this a try in the next couple of days, but I suspect
that I'm going to have to go with the manual approach I currently have,
and skip the leading zero's. Else I might end up becoming permanent
tech support for all the people using the template I create!

Thanks much for the education tho'.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.