Characters对象
- - - - - - - - - - - - -
(373)Selection.Characters.Count '当前文档中所选区域的字符数
(374)ActiveDocument.Paragraphs(1).Range.InsertParagraphAfter'在当前文档的第一段之后插入一个新段落
-- - - - - - - - - - - - - - - - -
Sections/Section对象
- - - - - - - - - - - - - - - - - -
(375)ActiveDocument.Sections.First '当前文档的第一节
(376)ActiveDocument.Sections.First.PageSetup.BottomMargin '当前文档第一节所在页的底边距
(377)ActiveDocument.Sections.First.PageSetup.LeftMargin '当前文档第一节所在页的左边距
(378)ActiveDocument.Sections.First.PageSetup.RightMargin '当前文档第一节所在页的右边距
(379)ActiveDocument.Sections.First.PageSetup.TopMargin '当前文档第一节所在页的顶边距
(380)ActiveDocument.Sections.First.PageSetup.PaperSize '返回或设置当前文档第一节所在页的大小
(381)ActiveDocument.Sections.First.PageSetup.PageHeight '返回或设置当前文档第一节所在页的高度
(382)ActiveDocument.Sections.First.PageSetup.PageWidth '返回或设置当前文档第一节所在页的宽度
(383)ActiveDocument.Sections.Add Range:=myRange '在当前文档中添加新节
(384)ActiveDocument.Sections.Item(2) '当前文档中的第二节
(385)ActiveDocument.Sections.Last.Range.InsertAfter "文档结束!"'在当前文档中最后一节的结尾添加文字“文档结束!”
Access软件网交流QQ群(群号:198465573) |