对word中来自excel的图表进行格式设置code(Format the chart from excel in word, code).docVIP

对word中来自excel的图表进行格式设置code(Format the chart from excel in word, code).doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
对word中来自excel的图表进行格式设置code(Format the chart from excel in word, code)

对word中来自excel的图表进行格式设置code(Format the chart from excel in word, code) 公共runcount为整数 子setfigure() “下面的命令将刚刚从Excel中复制过来的图形设定为悬浮锁定格式,并且将图形的来源位置设定为批注内容 screenupdating = false 我的照片是模糊的形状,MyInPicture As InlineShape 昏暗的FPath,shtname,chtadd,chtname,chttitle,S、S2为字符串 昏暗的xlapp应用Excel。 昏暗的xlbok Excel工作簿。 昏暗的intreturn为整数 “如果没有选中图形或者选中的图形不是嵌入形状类型则结束程序 如果选择类型= wdselectioninlineshape然后。 把我的照片=选择。InlineShapes(1)。converttoshape runcount = 0 “类型= wdselectionshape然后选择。 把我的照片=选择。ShapeRange(1) 其他的 本你可能没有选中任何图形,请选中图形后重试!”,“”货币供应量,“不图选择” 退出子 最后如果 “对图片的格式进行设定,可以设置缩放比例 H1高度=我的照片。 宽度W1 =我的照片。 有我的照片 lockaspectratio = msotrue。 。高度= 222.8如果设定固定值选用这一语句,并将下面比例缩放语句前面加上英文单引号 宽度= 371.35 。高度= H1×0.85”设置为原图高度为0.85倍,可以设置其他按比例 。宽度= W1×0.85”设置为原图宽度为0.85倍,可以设计其他比例 wrapformat.type = wdwraptopbottom”上下型。 wrapformat.allowoverlap =假”不允许重叠。 wrapformat.side = wdwrapboth。 relativehorizontalposition = _。 wdrelativehorizontalpositioncolumn relativeverticalposition = _。 wdrelativeverticalpositionparagraph wdshapecenter左=。 centimeterstopoints最高(0.2)。 锁脚锚杆的组合控制措施=真。 layoutincell = false。 结束 runcount = runcount + 11 “将刚刚从Excel中拷贝出来的图表所在的位置设定为字批注内容 “同时还将为图片设定了超链接,链接地址为刚刚复制图片所在Excel文件 “但是如果Excel没有打开, Then the map may not have come from the Excel launch program On Error Resume Next Set xlApp = GetObject (excel.application) If Err.Number = 429 Then The MsgBox Excel program is not open. This diagram may not come from Excel, so the source of this figure is not added as an annotation! VbExclamation, No, Excel, is, Open Else If Excel opens but does not select any graphics in the Excel, then the middle operation may cause the graph not to be selected. Set xlbok = xlApp.ActiveWorkbook Set xlcht = xlbok.Application.ActiveChart If, xlcht, Is, Nothing, Then MsgBox you did not check the original in Excel. If you want to add this map, the Excel source is used as an annotation. Please copy, paste the diagram, and try again! What should I do if I dont need to add approval and click OK?! VbExclamation, _ No, Chart, Selected. Else If th

您可能关注的文档

文档评论(0)

jgx3536 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

版权声明书
用户编号:6111134150000003

1亿VIP精品文档

相关文档