返回集合中的下一个对象。只读。
本示例激活下一个窗口。
If Windows.Count > 1 Then ActiveDocument.ActiveWindow.Next.Activate
如果所选内容位于表格之中,则本示例选定表格中下一个单元格的内容。
If Selection.Information(wdWithInTable) = True Then
Selection.Cells(1).Next.Select
End If
如果 Next 方法返回了一个 Field 对象,并且域的类型不是 FILLIN,则本示例更新活动文档的第一节的域。
If ActiveDocument.Sections(1).Range.Fields.Count >= 1 Then
Set myField = ActiveDocument.Fields(1)
While Not (myField Is Nothing)
If myField.Type <> wdFieldFillIn Then myField.Update
Set myField = myField.Next
Wend
End If
本示例缩进所选内容的第二段。
Selection.Paragraphs(1).Next.Indent