- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
vb操作word大全
1、对其WORD内容设置字体样式,以及在WORD中插入表格,以及表格单元格融合与填充.Option ExplicitPrivate Sub Command1_Click()Dim filename As StringCD.ShowSavefilename = CD.filenameOutWord filenameMsgBox OKEnd SubPrivate Function OutWord(ByVal filePath As String) As BooleanDim newDoc As Word.DocumentSet newDoc = New Word.DocumentWith newDoc.Paragraphs(.Paragraphs.Count).Range.Font.Name = 宋体.Paragraphs(.Paragraphs.Count).Range.Font.Size = 10.5.Paragraphs(.Paragraphs.Count).Alignment = wdAlignParagraphRight.Content.InsertAfter 編号: vbCrLf.Paragraphs(.Paragraphs.Count).Range.Font.Name = 宋体.Paragraphs(.Paragraphs.Count).Range.Font.Size = 26.Paragraphs(.Paragraphs.Count).Range.Font.Bold = True.Paragraphs(.Paragraphs.Count).Alignment = wdAlignParagraphCenter.Content.InsertAfter vbCrLf XXXXXXXXX報告 vbCrLf vbCrLf vbCrLf vbCrLf vbCrLf.Paragraphs(.Paragraphs.Count).Range.Font.Name = 宋体.Paragraphs(.Paragraphs.Count).Range.Font.Size = 15.Paragraphs(.Paragraphs.Count).Range.Font.Bold = False.Paragraphs(.Paragraphs.Count).Alignment = wdAlignParagraphLeft.Content.InsertAfter 项目名称: vbCrLf.Content.InsertAfter 应急类型: vbCrLf.Content.InsertAfter 预警状态:正常/警界/危机 vbCrLf.Paragraphs(.Paragraphs.Count).Alignment = wdAlignParagraphCenter.Tables.Add Range:=.Range(Start:=.Range.End - 1, End:=.Range.End), NumRows:=1, NumColumns:=3, DefaultTableBehavior:=wdWord9TableBehavior, AutoFitBehavior:=wdAutoFitFixedWith .Tables(1)If .Style 表 (格子) Then.Style = 表 (格子)End If.ApplyStyleHeadingRows = True.ApplyStyleLastRow = True.ApplyStyleFirstColumn = True.ApplyStyleLastColumn = True.Columns.Width = 50.Rows.Height = 20End With.Paragraphs(.Paragraphs.Count).Range.Font.Name = 宋体.Paragraphs(.Paragraphs.Count).Range.Font.Size = 15.Paragraphs(.Paragraphs.Count).Range.Font.Bold = False.Paragraphs(.Paragraphs.Count).Alignment = wdAlignParagraphLeft.Content.InsertAfter 委 托 人: vbCrLf.Content.InsertAfter 预 警 机 构: vbCrLf.Content.InsertAfter 报告负责人: vbCrLf.Content.InsertAfter 时 间: vbCrLf.Paragraphs(.Paragraphs.Count).Alignment = wdAlignParagraphLeft
您可能关注的文档
- outskirts郊区(outskirts裙子;城市周边郊区).doc
- 近5年英语四级作文题目.doc
- 753变频器调试说明.doc
- 房间预订操作程序.doc
- 2016届牛津高中英语高三一轮复习之模块基础自我检测复习题选修模块十一UNIT1.doc
- Simulink下数学模型建立与仿真.doc
- 大学英语四级高级词汇.doc
- 2014-2015重庆一中高一英语上学期期中试卷(带答案).doc
- 新视野大学英语第三册1到10答案.doc
- 2010年上海世博会英文介绍经典十句.doc
- 2025年中国高筒坤靴市场数据调查、监测研究报告.docx
- 2025年中国假肢专用碳纤增强材料市场数据调查、监测研究报告.docx
- 2025年中国镶红宝石手链市场数据调查、监测研究报告.docx
- 2025年中国天存己酮可可碱市场数据调查、监测研究报告.docx
- 2025年中国火花机变压器市场数据调查、监测研究报告.docx
- 2025年中国R-联萘酚市场数据调查、监测研究报告.docx
- 2025年中国珍珠靓白精华素市场数据调查、监测研究报告.docx
- 2025年中国石英塑料钟市场数据调查、监测研究报告.docx
- 2025年中国食品蝶阀市场数据调查、监测研究报告.docx
- 2025及以后5年中国冲牙器行业市场运营格局及发展趋势预测报告.docx
文档评论(0)