Style containing outline numbering - outline number does not appea



  • 1. Apply ToC format to text within a paragraph
    Using ToC to create a page listing of items and want to apply a heading level to text within a paragraph so that text, and not the whole line/paragraph will appear in the ToC with a page number, e.g. Heading 1 Heading 2 And then some text with Heading 3 pulled from within the paragraph. Can I do this? Thanks! Marv
  • 2. Changing font within the 'number' of an outline number
    Is there an easy way to change the font within the 'number' of an outline numbered list? To give an example: 1.2.3 Example I would then like the '1' to appear in bold, the '2' in italic superscript, and the '3' in 24 pt flashing Helvetica Bold. (Whether this would be useful is an entirely different matter, but you get the idea.) As far as I could make out, Word's GUI only allows me to change the entire 'number' uniformly. I have a hunch that what I need would require some VBA-magic---but I don't have a clue as to where I should begin. Is there anyone who can lend me a hand? Kind regards, Maarten
  • 3. Heading 2 Problem
    Recently, we have been having trouble with the 'Heading 2' style. We have a macro that runs and createds a document. There are certain lines that are set as 'Heading 2'. When we open the document after the macro has run, I can see the line that was set as heading 2, but there is no number in front of it. It should be '1 - First Item', instead it shows as just 'First Item'. Looking at the Style, it is set to Heading 2, as it should be. If I re-select 'Heading 2' from the dropdown list, the number now appears. This is not a viable solution as everything should be correctly formatted from the macro. This only started happening within the last month or two. Before that it was fine. Any ideas?
  • 4. Numbering for Appendix
    Hey, Please help me for heading and numbering for the following document structures. APPENDIX A SOFTWARE REQUIREMENTS TEST PROCESS 10. Process Description 10.1 Quality Issues 20. Alternative Grouping Methodologies 30. Requirement Change Analysis 30.1 Analysis Details 30.2 Determining the Tests to Re-execute APPENDIX B TEST STRATEGIES 10. Control Channel Test Objectives 10.1 Dynamic Testing of Control Channel 10.1.1 Execution Notes 10.1.2 Implementation Notes 20. Test Objectives 20.1 General Coverage and 20.1.1 Threshold Testing Strategy APPENDIX C ROLES AND RESPONSIBILITIES 10. Project Organizational Structure 20. Test Team Roles and Responsibilities 30. Test Independence I have already used the word's default heading style. I have created new style and applied outling numbering. I inserted '0' after 1 in the number format, but when we gets numbering for the appendix B, it comes ' 40' Instead of restarting from '10'. The numbering continues for every appendix and never gets restarted from 10. Thanks for your time
  • 5. Header numbers displaying in bold
    I have a document that used headers from which I generate my TOC Header styles were originally bold and the font on the number was set to bold. I have been through and removed the Bold from the header and the number but they are still displaying in bold. I have done the same on the TOC styles and they are still bold as well. Please help Thanks JulieG

Style containing outline numbering - outline number does not appea

Postby Q2Fyb2xpbmU » Tue, 13 Sep 2005 11:17:02 GMT

Hi folks,

I use Word 2000 in an office that uses predefined styles for outline 
numbering.  This was all fine and dandy (except for the usual Word 2000 
numbering issues) until I struck the following problem:

As far as I can reconstruct, this problem occurs when you paste text 
containing a particular style into a document that does not have that style.  
Then if you use Organizer to transfer the style into the document (after the 
paste) the style appears without any outlining. Sometimes it has the correct 
indents, sometimes not.  No matter how many times you try to transfer the 
style, it just won't bring across the outlining.
I have found this problem twice, with two different documents and different 
styles, but as far as I can tell both times there was a paste from another 
document, and then the user discovered the style was missing and tried to 
copy it across. 

The only fix I have found for this problem is to use a different style 
altogether (not always possible) or to dump the document and start again.

Any help would be appreciated.  We have a lot of old documents and we can't 
update them all with the correct styles, so I know I'm going to run across 
this little number over and over again.


Re: Style containing outline numbering - outline number does not appea

Postby Margaret Aldis » Wed, 14 Sep 2005 23:47:27 GMT

i Caroline

Word 2000 is really pretty buggy in this area, so I'm not sure you are going
to find a simple way around it. There are a few things you could check that
might help, and a way of setting up the template so that you can get the
styles via an update, though probably not using the Organizer. I'm dredging
memory here but:

In the pasted content, make sure you are getting fully matched style and
numbering. You might find that using Ctrl-Q to reset to style works, but if
the style itself is coming across without numbering but the pasted text has
the numbering as direct formatting you may be able to update the style by
redefining to match the selection (should be offered in Word 2000 when you
reapply the style from the dropdown, I think.)

I'm not sure the Organizer ever works for numbered styles in Word 2000, but
just in case try doing the copy "Three times for luck" while the dialog is
open. (In Word XP and 2003 that realigns the styles and list templates, but
so much changed under the surface it may not work earlier.)

The full workaround is to use a macro to set up the numbered styles,
avoiding the use of the List Gallery. In Word 97 and Word 2000 that seems to
firmly cement the list template and the linked styles together, so you can
update the style from template (though not via the Organizer) - and even if
all else fails, you can run the macro to set up the numbered styles, which
might be the simplest solution for your old documents. There is example code
and a long discussion at

or here

I also found an old post of mine where I listed some problems that may be
the same as yours:

Hope this is some help

Margaret Aldis - Microsoft Word MVP
Syntagma partnership site:
Word MVP FAQ site:

"Caroline" <DIESPAMDIEcarolineeATcompartoDOTcomDOTau> wrote in message
news: XXXX@XXXXX.COM ...

RE: Style containing outline numbering - outline number does not appea

Postby Q2h1Y2sgSGVucmljaA » Thu, 15 Sep 2005 22:13:01 GMT

he key thing about taming outline paragraph numbering is understanding that
it relies on list templates which are linked to styles but are not actually
part of style definitions.

List templates are defined separately from styles. You define LTs using the
Customize Outline Numbered List dialog or through code.

List templates have levels (1-9) which correspond to the number levels you
see when you define the numbering for a set of styles. Word's numbering
dialog allows you to create a named list template that is associated with a
style (the "ListNum field list name" field in the Customize Outline Numbered
List dialog) but unfortunately that dialog doesn't allow you to link
individual styles with a list template's specific levels - the only way to do
that is through code (the ".LinkedStyle" property of the list level). IMHO
this is a basic design flaw in Word's numbering feature which can and should
be fixed, something I've done myself (for more information visit my website).

If you want to copy outline numbered styles between documents and have them
retain their outline numbering, you first must link a named list template to
your style and also link the style to the appropriate list level. Once
you've done that Organizer will *usually* copy the styles and their numbering
correctly. Unfortunately *usually* isn't always (I've run into situations in
2003 where it doesn't although it does in 2000). I've created a utility that
does that which is free for personal use.

I'm not sure where the "Organizer copy 3 times" idea came from but it's
never worked for me. That's not surprising because if a style isn't linked
to a list level the list template then Word has no way of identifying which
list level should be copied over. In any case there's nothing magical about
the number 3 - copying over and over hoping that the numbers will copy over
with the styles is just as much a toss of the dice at 3 times as at 30.

It all sounds pretty complicated but really it's just tedious. You might
want to take a look at the following for an example of how to put the concept
into practice:

Chuck Henrich

"Caroline" wrote:

Re: Style containing outline numbering - outline number does not appea

Postby Charles Kenyon » Fri, 16 Sep 2005 03:30:01 GMT

i Chuck,

So far as I know, I came up with the copy three times rule a while back. It
is important when copying linked or cascading styles. Copying once will lose
all links, between styles. Copying three times will retain all links,
between styles. List templates are something else entirely.

I do use the Organizer copy method with outline numbering styles and it
works for me. I just tried it again to make sure, using a template source
that was not created on this computer. The numbering formatting is retained.
The original numbering was set using the procedures outlined in Shauna
Kelly's articles back around 2001. It seems to be stable but I haven't tried
to destruction test it, just used it in practicing law.

The macro for transfering the styles is below.

Sub PleadingStyleTransfer()
' PleadingStyleTransfer Macro
' Macro written 14 November 2001 by Charles Kyle Kenyon
On Error GoTo NoDocument 'In case called when no document is open.
Dim sThisTemplate As String
Dim sTargetDoc As String
Dim i As Integer
Dim iCount As Integer
Dim rResponse As Variant 'vbMsgBoxResult in Word 2000 or later
sThisTemplate = ThisDocument.FullName
sTargetDoc = ActiveDocument.FullName 'generates error if no document
rResponse = MsgBox(Prompt:="This command redefines your Body Text Style
and" _
& vbCrLf & "Heading Styles 1-9. Are you sure you want to do this?" _
& vbCrLf & vbCrLf & "If you are not sure, answer 'No' and make a
backup of your document." _
& vbCrLf & "Then run the command to copy the styles again.", _
Title:="Are you sure you want to redefine your styles?", _
Buttons:=vbYesNo + vbExclamation)
If rResponse = vbNo Then Exit Sub
On Error Resume Next
' Copy Body Text and Pleading Styles to Active Document
For i = 1 To 3 ' copy styles three times
StatusBar = "Copying Styles - Round " & i & " of 3"
With Application
.OrganizerCopy Source:=sThisTemplate, _
Destination:=sTargetDoc, Name:="Body Text,bt,bt1", Object:=
StatusBar = i & "/3: Body Text"
For iCount = 1 To 9
.OrganizerCopy Source:=sThisTemplate, _
Destination:=sTargetDoc, Name:= _
"Heading " & iCount & ",h" & iCount & ",Pleading " &
iCount _
& ",p" & iCount, Object:= _
StatusBar = i & "/3: Pleading " & iCount & " copied"
Next iCount
End With
Next i
StatusBar = "All styles copied."
' Change to Pleading 1 style?
rResponse = MsgBox(Prompt:="Change to Pleading 1 style and go into
Outline view?", _
Buttons:=vbYesNo, Title:="Pleading Styles Imported - start
If rResponse = vbYes Then
Selection.Style = ActiveDocument.Styles("Heading 1,h1,Pleading
ActiveWindow.ActivePane.View.Type = wdMasterView
Else 'not now - then reminder
MsgBox Prompt:="The style to start your pleading is Pleading 1 or
p1." _
& vbCrLf & "It is probably easiest to work in Outline view."
End If
Exit Sub
MsgBox Prompt:="Sorry, this command is only available when you have a
document open." _
& vbCrLf & "It should be used after you have your caption set up.", _

Re: Style containing outline numbering - outline number does not appea

Postby Charles Kenyon » Fri, 16 Sep 2005 03:31:52 GMT

he macro I posted in another response in this thread worked in Word 97 and
Word 2000 with numbered outline styles.
Charles Kenyon

Word New User FAQ & Web Directory:

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide)

See also the MVP FAQ: which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

"Margaret Aldis" <Margaret.Aldis@mvps.(SpamStopper)org.invalid> wrote in
message news: XXXX@XXXXX.COM ...

Similar Threads:

1.Style containing outline numbering - outline number does not a

2.Word 2k Outline Numbering - Number format - Number style - Previous Level Number

I have set up my headings per Shauna Kelly's web site. The problem I'm
having now is getting the number formats to behave. What I want is
something like.

1.0 Heading 1
    1.1 Heading 2
    1.2 Another Heading 2 item
        1.2.1 Heading 3
2.0 Another Heading 1
    2.1 Heading 2
3.0 Another Heading 1

etc, etc

I would appreciate any help.

Thanks in advance,

3.Numbered Outline Without the Numbered Outline

Does anyone know how to create a numbered outline WITHOUT using the outline
feature, ie just using paragraphs and bullets/numbers such that you can
add/delete entries and the numbers will all update automatically and still
create a table of contents.  I'm doing this because I cannot figure out how
to use a numbered outline and seperate a heading from the rest of the text
in the paragraph (see "Still hoping for a solution post earlier today...")
for use in a table of contents.

any help is greatly appreciated.

4.Outline Numbered List/Number Style

Is there a way to add a custom style to the number style list in the
Customize Outline Nubmered List?  There are a few preset examples like:
1, 2, 3, ...
01, 02, 03, ...

But what I need is 001, 002, 003, ...

I can fake it out by putting a 0 in front and hope nobody gets past 99 but
I'd like to do it right.


5.Outline Numbering Linked to Style to Automatically Restart Numbering-no worky for me

I've read all I can on restart numbering here and on ShaunaKelly and
the MVP site, but I must be doing something wrong.

I started with the builtin ListNumber and modified it by going to
Outline Numbering. I set Level 1 to link to my Heading 3 (which is
also a numbered heading) but set it to have no number. I set Level 2
to link to ListNumber and started it as a "1." But when I try it in a
document, the numbers below my second Heading 3 don't renumber. (I did
set "Restart Numbering After Level 1.") And when I go back to check
the settings, the dialog box now shows my Level 1 is linked to
ListNumber instead of Heading 3. I keep relinking it to Heading 3 and
when I go back to check, it's back to ListNumber. What am I doing

6. Setting Heading 1 Outline Numbering Style to Specific Number in Doc

7. Autotext - displays original style, but not outline numbering

8. Restart Numbering not available in Numbered Outline Dialog Box

Return to MS WORD


Who is online

Users browsing this forum: No registered users and 14 guest