收藏 分享(赏)

word调整图片大小,excel插入行两个宏的使用.doc

上传人:gsy285395 文档编号:12289974 上传时间:2021-12-10 格式:DOC 页数:3 大小:48KB
下载 相关 举报
word调整图片大小,excel插入行两个宏的使用.doc_第1页
第1页 / 共3页
word调整图片大小,excel插入行两个宏的使用.doc_第2页
第2页 / 共3页
word调整图片大小,excel插入行两个宏的使用.doc_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

1、Comment 微微微微1: 图片高度Comment 微微微微2: 图片宽度Comment 微微微微3: 起始行宏的打开:在工具中有,或者是 alt+F8Word中调整图片宏:Sub setpicsize()Dim jFor j = 1 To ActiveDocument.InlineShapes.CountActiveDocument.InlineShapes(j).Height = 160ActiveDocument.InlineShapes(j).Width = 210Next jEnd Sub这个宏是用于 word中,统一调整图片的大小,可以一次性将所有的图片调整到统一的大小。Exce

2、l中插入行:Sub 插入行()Range(“A1 “).SelectDo While Selection “ “Selection.Offset(1, 0).SelectSelection.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertSelecti

3、on.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertSelection.EntireRow.InsertComment 微微微微4: 要插入多少行,就要多少个插入Comment 微微微微5: 共插入行数Selection.EntireRow.InsertSelection.EntireRow.InsertSelection.Offset(22, 0).SelectLoopRange(“A1 “).SelectEnd Sub这个宏是用于在 excel中批量插入空行比如要在每一行的后面都插入 22个空行就可以运行此宏结果如下注意:由于没有学过 VB语言,插入行这个宏,没有完善,不能自动停止,当你需要插入空行的行运行过后直接按 ESC 键退出,结束宏的运行

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 企业管理 > 管理学资料

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:道客多多官方知乎号:道客多多

经营许可证编号: 粤ICP备2021046453号世界地图

道客多多©版权所有2020-2025营业执照举报