Selection.NextSubdocument (Word)

Moves the selection to the next subdocument.

If there isn't another subdocument, an error occurs.


If ActiveDocument.Subdocuments.Count >= 1 Then 
 ActiveDocument.ActiveWindow.View.Type = wdMasterView 
 Selection.HomeKey unit:=wdStory, Extend:=wdMove 
 Selection.NextSubdocument 
End If