Hi Rob,
at a long shot,
as setting up such styles and an according document
is too much for me right now.
Try to define the selection anew
before the end of your loop.
>Sub CollectCustomTopics()
[snip]
>With Selection.Find
> .Highlight = True
[quoted text clipped - 4 lines]
> Case "Topic Level 1"
> r.InsertAfter "Topic Level 1"
[snip]
selection.start = selection.end
selection.end = activedocument.range.end
> Loop
>End With
>End Sub
--
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Vista Small Business, Office XP