上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页
摘要: 1.前期绑定 工具 引用 Microsoft Word14.0 Object Library dim wdapp as Word.Application dim wdoc as document set wdapp=new word.application set wdoc=wdapp.docume 阅读全文
posted @ 2020-03-28 21:23 TryMyBest! 阅读(734) 评论(0) 推荐(0)
摘要: 1. 2.如何在所有的工作簿中都能调用函数? 将函数文件保存为加载宏文件,并且在excel中引用加载宏 3.application.volatile是启动易失性函数。表示如果编辑带有函数的单元格,单元格的值就会变。 4.自定义函数时,可以设置参数是可选型参数。即给参数赋一个默认值。后边使用函数时,如 阅读全文
posted @ 2020-03-28 18:29 TryMyBest! 阅读(331) 评论(0) 推荐(0)
摘要: Cdate转换成时间 Cstr转成字符 Cint转成数字 等等 阅读全文
posted @ 2020-03-28 15:09 TryMyBest! 阅读(147) 评论(0) 推荐(0)
摘要: 1.正则表达式测试工具 2.如何引入正则表达式 前期绑定:工具 引用 microsoft vbscript regular expressions 5.5 dim regex as new regexp 后期绑定:set regex=createobject("vbscript.regexp") 3 阅读全文
posted @ 2020-03-27 20:22 TryMyBest! 阅读(23895) 评论(2) 推荐(0)
摘要: 工作表事件>工作簿事件>程序事件 阅读全文
posted @ 2020-03-27 15:48 TryMyBest! 阅读(557) 评论(0) 推荐(0)
摘要: 申明公共变量 public withevents app as excel.application 在工作簿打开时运行 private sub workbook_open() set app=excel.application end sub 阅读全文
posted @ 2020-03-27 15:30 TryMyBest! 阅读(586) 评论(0) 推荐(0)
摘要: vba如何设置屏蔽操作时产生的对话框application.displayalerts=false;如何再次启动对话框application.displayalerts=true 阅读全文
posted @ 2020-03-27 15:26 TryMyBest! 阅读(1883) 评论(0) 推荐(0)
摘要: vba中区域的交集和并集使用intersect(区域1,区域2)或union(区域1,区域2) 阅读全文
posted @ 2020-03-27 14:58 TryMyBest! 阅读(2337) 评论(0) 推荐(0)
摘要: vba中application.statusbar表示返回或设置状态栏的文字 阅读全文
posted @ 2020-03-27 14:40 TryMyBest! 阅读(2388) 评论(0) 推荐(0)
摘要: counta函数可统计非空单元格的个数 阅读全文
posted @ 2020-03-27 14:30 TryMyBest! 阅读(1156) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页