将该区域或选定内容移至下一个子文档。如果没有下一个子文档,则导致出错。
expression.NextSubdocument
expression 必需。该表达式返回一个 Range 或 Selection 对象。
本示例将活动文档切换到主控文档视图,并选定第一个子文档。
If ActiveDocument.Subdocuments.Count >= 1 Then
ActiveDocument.ActiveWindow.View.Type = wdMasterView
Selection.HomeKey unit:=wdStory, Extend:=wdMove
Selection.NextSubdocument
End If