- word办公软件使用教程:在Word2010中使用quot;定位quot;功能快速翻页
- word简历制作教程:在Word2003中插入MP3背景音乐
- word制作表格教程基础入门:在WORD中水平标尺的四个段落缩进标记分别是什么
- word教程网:如何用Word写出一篇规范的论文
以下内容与Word文档VBA编程的Sections或Section对象有关,word教程零基础教程,希望对您有所帮助。
ActiveDocument.Sections.First '当前文档的第一节
ActiveDocument.Sections.First.PageSetup.BottomMargin '当前文档第一节所在页的底边距
ActiveDocument.Sections.First.PageSetup.LeftMargin '当前文档第一节所在页的左边距
ActiveDocument.Sections.First.PageSetup.RightMargin '当前文档第一节所在页的右边距
ActiveDocument.Sections.First.PageSetup.TopMargin '当前文档第一节所在页的顶边距
ActiveDocument.Sections.First.PageSetup.PaperSize '返回或设置当前文档第一节所在页的大小
ActiveDocument.Sections.First.PageSetup.PageHeight '返回或设置当前文档第一节所在页的高度
ActiveDocument.Sections.First.PageSetup.PageWidth '返回或设置当前文档第一节所在页的宽度
ActiveDocument.Sections.Add Range:=myRange '在当前文档中添加新节
ActiveDocument.Sections.Item(2) '当前文档中的第二节
ActiveDocument.Sections.Last.Range.InsertAfter "文档结束!" '在当前文档中最后一节的结尾添加文字“文档结束!”
以上内容与具备一定VBA知识的网友使用。
,wordpress教程,word多出来一页空白页删不掉上一篇:word制作表格教程基础入门:带图片PDF文件转换成Word的方法 下一篇:word教程:Word查看打印机quot;目录服务目前不可用quot;
郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。