Peter -
> Is there any way to concatenate the two list templates, so
> that they continue each other?
Unfortunately not. They are totally independent of one another to the
point that they don't even know the others exist, even when they're
mixed together in the same outline.
However, there is a way to do what you want if you don't mind a little
extra work.
You could use a hidden LISTNUM field and bookmark it for referencing,
then add a non-hidden SEQ field after the LISTNUM field to use for
display. It would look like this:
{ LISTNUM \L 2 } .{ SEQ X \R 1 } This gives you .1
{ LISTNUM \L 2 } .{ SEQ X } This gives you .2, .3, etc.
You could make an AutoText entry out of both the first and second
lines, or, even easier, you could use this simple macro to copy either
of the entries wherever your cursor is at the moment. You'd have to
bookmark the first two entries to include everything from the margin
to the beginning of the text. Here the bookmarks are called
"EntryOne" and "EntryTwoAndUp":
Sub PasteNumber1()
Dim BName As String
Selection.Range.FormattedText =
ActiveDocument.Bookmarks("EntryOne").Range.FormattedText
Selection.MoveRight Unit:=wdWord, Count:=1, Extend:=wdExtend
BName = InputBox("Bookmark name (no spaces):", "Bookmark Name?")
ActiveDocument.Bookmarks.Add Range:=Selection.Range, Name:=BName
Selection.EndKey wdLine
End Sub
Sub PasteNumber2AndUp()
Dim BName As String
Selection.Range.FormattedText =
ActiveDocument.Bookmarks("EntryTwoAndUp").Range.FormattedText
Selection.MoveRight Unit:=wdWord, Count:=1, Extend:=wdExtend
BName = InputBox("Bookmark name {no spaces}:", "Bookmark Name?")
ActiveDocument.Bookmarks.Add Range:=Selection.Range, Name:=BName
Selection.EndKey wdLine
End Sub
They pause to let you name the bookmark and put it around the hidden
LISTNUM field at level 2. If you don't need to bookmark the hidden
field, take out the two lines before "Selection.EndKey wdLine." Hope
this is what you're looking for.
- Bruce
> Hallo,
>
[quoted text clipped - 31 lines]
>
> Peter
PeteSch - 11 Sep 2003 07:41 GMT
Bruce-
thank you very much. It's not exactly the thing I was looking for, but
it may be usefull anyway. I simplyfied my example a little bit, in
fact we need all 9 levels (even though the first 3 of them are not
interpreted by now), so I would have to do a complete handlig of the
resetting of numbering levels... for the SEQ fields). But maybe I can
do without the information from the hidden fields, if the procedure
wich creates the bookmarks goes gradual through the text.
Thank you again,
Peter
> Peter -
>
[quoted text clipped - 48 lines]
> this is what you're looking for.
> - Bruce