![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
TOOLS
文章平均质量分 55
songbob
这个作者很懒,什么都没留下…
展开
-
VBA 统计文件(规则:'\'以后的文件名)
说明:1第一个sheet名为Sheet1,第二个名为step2两个sheet相比较,如果相同,将step的第五列,放到Sheet1的第二列Sub countStep()'' countStep Macro'' Keyboard Shortcut: Ctrl+Shift+TDim sheetYCnt As IntegerDim stepYCnt As Inte原创 2012-08-28 14:32:59 · 444 阅读 · 0 评论 -
VBA 统计文件个数
说明:1第一个sheet名为Sheet1,第二个名为step2两个sheet相比较,如果相同,将文件个数放到Sheet1的第二列 Sub countStep()'' countStep Macro'' Keyboard Shortcut: Ctrl+Shift+TDim sheetYCnt As IntegerDim stepYCnt As Inte原创 2012-08-28 14:37:17 · 2317 阅读 · 0 评论 -
VBA 统计文件(规则:A包含B)
说明:1第一个sheet名为Sheet1,第二个名为step2两个sheet相比较,如果A包含B,将step的第4列,放到Sheet1的第4列 Sub countStep()'' countStep Macro'' Keyboard Shortcut: Ctrl+Shift+TDim sheetYCnt As IntegerDim stepYCnt As原创 2012-08-28 14:34:33 · 1285 阅读 · 0 评论 -
DOS批处理 删除文件中的空行
以前看一些原码带的空行太多.不方便阅读.在网上查了一下,做了个DOS的批处理去掉文件中的空行。注:WIN 10 系统中 多行命令操作异常。直接在CMD里输入 findstr /v "^$" %fileName% > result.txt & del %fileName% & ren result.txt %fileName%即可,把上面的%fileName% ...原创 2012-08-28 13:25:39 · 8095 阅读 · 1 评论 -
VBA 重置所有单元格选中位置到A1
重置所有单元格选中位置到A1首先在EXCLE的常用里打开'开发'指定快捷键插入代码Sub Macro1()' reset Sheets' Macro1 Macro' Dim pageCount As Integer pageCount = Sheets.Count For i = 1 To pageCount I原创 2012-08-28 14:26:34 · 1434 阅读 · 0 评论