Excel VBA代码:批量获取指定目录下所有文件名
在Excel中获取指定目录下的所有文件名,请自行修改输出的格式,配合Excel VBA代码:批量插入指定目录下图片代码使用,事半功倍!代码如下:
GeSHi Error: GeSHi could not find the language vba (using path /home2/enonecom/public_html/pootor.com/wp-content/plugins/codecolorer/lib/geshi/) (code 2)
Hello,
Can i get a one small photo from your site?
Have a nice day
Jinny
@Jinny
yes,you are welcome.
please read the link
Attribution-Noncommercial-Share Alike 3.0 Unported
采集通过浏览窗口指定目录下的文件名很方便^^^^^^^顶!!!!
还有一事请你帮忙:
把采集到的这些文件名用相邻列的新文件名重新命名到通过浏览窗口指定的目录下……
======
这个程序很好用 谢谢
唯一不足 就是好像网站打开很慢 还好我耐心等了 呵呵
@Reeme 用的国外空间Lunarpages,国内访问速度是比较慢。这个VBA是针对2003及其以下版本用的,如果你要用在 Excel 2007或 Excel 2010的话会出错的,因为2007以上不支持FileSearch函数了,可以用DIR函数代替。参考地址:http://www.pootor.com/excel2007-dir-replace-filesearch/