应用于 Characters、Sentences 和 Words 对象的 Last 属性。
本示例将活动文档中的最后一个段落设置为右对齐格式。
ActiveDocument.Paragraphs.Last.Alignment = wdAlignParagraphRight
本示例对所选内容中的最后一个单词应用加粗格式。
If Selection.Words.Count >= 2 Then
Selection.Words.Last.Bold = True
End If
本示例删除表格 1 的最后一行。
ActiveDocument.Tables(1).Rows.Last.Cells.Delete