Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Word: continued title numbering

I have a Microsoft Word document which consists of (more or less) the following heading structure (this is just the heading structure, not the actual content of the document. I have some text bellow each heading):

heading 1
    heading 1.1
    heading 1.2
        heading 1.2.1
        heading 1.2.2
heading 2
    heading 2.1
    heading 2.2
        heading 2.2.1
        heading 2.2.2
    heading 2.3
heading 3
heading 4
    heading 4.1
        heading 4.1.1


EDIT: headings 1,2,3,4 are of type heading 1, headings 1.x, 2.x, 3.x, 4.x are of type heading 2 and headings 1.x.y, 2.x.y, 3.x.y, 4.x.y are of type heading 3.

I would like to automatically change the text of each heading so that I'll have them all numbered. In the above example I would expect the heading structure to look like this:

1. heading 1
    1.1. heading 1.1
    1.2. heading 1.2
        1.2.1. heading 1.2.1
        1.2.2. heading 1.2.2
2. heading 2
    2.1. heading 2.1
    2.2. heading 2.2
        2.2.1. heading 2.2.1
        2.2.2 heading 2.2.2
    2.3. heading 2.3
3. heading 3
4. heading 4
    4.1. heading 4.1
        4.1.1 heading 4.1.1

How do I do this in Microsoft Word?

share|improve this question

marked as duplicate by studiohack Apr 5 '11 at 19:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Is the "heading" you have typed above an actual section title unique to each section, or is it just as typed, "heading"? – music2myear Mar 31 '11 at 12:59
@music: It's actual heading. headings 1,2,3,4 are of type heading 1, headings 1.x, 2.x, 3.x, 4.x are of type heading 2 and headings 1.x.y, 2.x.y, 3.x.y, 4.x.y are of type heading 3. – snakile Mar 31 '11 at 14:50

Using Office 2007 goto Paragraph then Multilevel list on the ribbon. You can customise the numbering to what you require under Define New Multilevel List.

enter image description here

You may want to take a look at this video Settings Headings and Numeration [Word 2007-10]

share|improve this answer

You can set the Multilevel List style. The format you want is not the default outline format but you can change it by selecting the text you want outlined and then clicking the Multilevel List button which is located in the Paragraph section of the Home tab on the ribbon. Your format is one of the options it presents.

As you type, use Tab on a new line to indent to the next deeper outline level and use Alt-Tab to shift the indent back to the previous outline level. Word will automatically enter the outline numbering based on your indentation level.

In response to your comment / edit, You will probably need to define a new Multilevel list. I don't think any of the builtins will do what you want.

When you click on the submenu arrow on the Multilevel List button in the Paragraph group (not the button itself), there's the option to define a New Multilevel List. Here you can set outlining definitions and apply them to different global styles (click the More button to reveal the full options).

Click on a number list at the left of this window to select which level you want to edit and you can define the number style for it, and also link it to your heading styles.

That's about as close as you're going to get with builtin Word functionality. If some incantation within those options doesn't work for you then you're probably left with writing a macro or looking for an add-in that will do what you want.

share|improve this answer
Thanks, but the problem is not with indentation and not with how to create a list. Below each heading I also have content, so I cannot just select all headings and apply the multilevel list style to all of them. The example in my question is just the heading structure, not the content of the document. I'm asking how do I apply the multilevel list style to each line which is a heading. – snakile Mar 31 '11 at 14:54
@snakile See my edit. – squillman Mar 31 '11 at 15:04
In order to use the automated heading styles, you'll have to use the the word heading style modifier. That is the only automatic word process that does this. If you're just looking to add those numbers to the front of the heading line, the quickest thing is just to add them yourself. – music2myear Mar 31 '11 at 15:16

Not the answer you're looking for? Browse other questions tagged or ask your own question.