Word 2007: Multi-level lists

K

Kim in Melb

Howdy:
I'm numbering the appendices using a multi-level list. The first level uses
Alphas where the number of appendices goes beyond Z i.e.

A
B
C ....
X
Y
Z
AA
BB
CC ...
ZZ

Is there any way that I can change the format so that when the list reaches
Z, the numbering continues as follows:

A
B
C ...
X
Y
Z
AA
AB
AC ...

Thanks,
 
D

Doug Robbins - Word MVP

See the "Generate a number sequence like Excel uses to number columns" item
under the Nifty Numbering section of fellow MVP Cindy Meister's website at:

http://homepage.swissonline.ch/cindymeister/

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
S

Stefan Blom

To add to what Doug has said, note that SEQ fields don't update automatically. You can force an update by switching to Print Preview and then back to your favorite view (use Ctrl+F2 as a toggle). Also, you can explicitly update the fields in the selection by pressing F9.
 
K

Kim in Melb

Hi Doug & Stefan:

Many thanks for your responses. Methinks I may have bitten off more than I
can chew! I now have the code (thanks to you) ... question is, where do I
put it? Is this something I need to create in Visual Basics?

Thanks heaps,
 
S

Stefan Blom

To enter field codes in your document, first press Ctrl+F9 to insert field
delimiters, { }, and then type the code (note that you cannot type the braces
from the keyboard). Press F9 to update. Use Alt+F9 to show/hide field codes. To
duplicate a certain field code, you can use copy and paste (be sure to update
it, for example by toggling Print Preview).
 
S

Stefan Blom

To clarify: You will have to press Ctrl+F9 to insert *each pair* of field
delimiters.
 
K

Kim-in-Melb

Hi Stefan:

Thanks for that but I still need to delve a little further. My mutli list
is linked to styles so that it's completely automatic - I haven't used
bookmarks or anything else that an author needs to add in as you go. The
reason for this is that the mutli list is in a template which will be used by
hundreds of people with varying degree of Word skill. Therefore, I'm still
confused as to where in the document I need to add these fields i.e. do I go
into developer and add the field in there or do I add the field next to each
multi-list entry?
Thanks,
 
S

Stefan Blom

SEQ fields can't be linked to styles, unfortunately. Since there are many users
with different experience, maybe it would be easier to use auto numbering and a
numbering format that is supported by Word's multilevel list feature.
 
D

Doug Robbins - Word MVP

I have tried the field construction on Cindy's site, but must admit that I
cannot get it to work. So, instead of trying to figure out why, I decided
it would be easier to create a macro to apply such numbering to all of the
paragraphs that were selected, which is what the following will do:

Dim i As Long
With Selection
For i = 1 To .Paragraphs.Count
.Paragraphs(i).LeftIndent = InchesToPoints(0.5)
.Paragraphs(i).FirstLineIndent = -InchesToPoints(0.5)
If i < 27 Then
.Paragraphs(i).Range.InsertBefore Chr(64 + i) & vbTab
ElseIf i Mod 26 = 0 Then
.Paragraphs(i).Range.InsertBefore Chr(Int(i / 26) - 1 + 64) &
Chr(64 + 26) & vbTab
Else
.Paragraphs(i).Range.InsertBefore Chr(Int(i / 26) + 64) & Chr((i
Mod 26) + 64) & vbTab
End If
Next i
End With

it also formats the paragraphs with a left indent of 0.5" and a hanging
indent of -0.5" and inserts a tab space after the paragraph "number"

See the article "What do I do with macros sent to me by other newsgroup
readers to help me out?†at:
http://www.word.mvps.org/FAQs/MacrosVBA/CreateAMacro.htm


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 

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