Range.NextSubdocument (Word)

Moves the range 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.Range.NextSubdocument 
End If