Characters\Sections/Section对象-WORD的VBA -麥田
Access软件网QQ交流学习群(群号码198465573),欢迎您的加入!
首页 >技术文章> 推荐资源


Characters\Sections/Section对象-WORD的VBA

发表时间:2008/2/14 9:47:13 评论(0) 浏览(6710)  评论 | 加入收藏 | 复制
   
摘 要:Characters\Sections/Section对象-WORD的VBA 
正 文:
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)
 
 相关文章
Characters\Sections/Section对象-WOR...  【helo  2008/2/14】
常见问答
技术分类
相关资源
文章搜索
关于作者

麥田

文章分类

文章存档

友情链接