it is traversing the map but seemingly randomly from top to bottom and between different levels. This means the screens jumps around while the macro executes, hence the question about not updating the screen until the macro finishes as in .ScreenUpdating=false in VBA.
Any suggestions welcome. Thanks
Normally travering the map should not be visible, for example when using a function like this one:
Sub Main Dim t As Topic Set t = ActiveDocument.VisibleCentralTopic traverseMap(t) End Sub Sub traverseMap(t As Topic) Dim currenSubtopics As Topics Set currentSubtopics = t.SubTopics For Each currentTopic In currentSubtopics traverseMap(currentTopic) Next End Sub