阅读背景:

列出文件可以工作,但是我如何列出文件夹中的文件(VBA, excel)?

来源:互联网 

I have some code which I found online and it's working great. It lists any files in a specified folder and their properties. I just need to amend this function which returns a list of files. I need it to look in a given path at ALL files. So if it's a folder, open it and return those files too. I eventually need to get this to mark each file (so in a column in excel) where it came from. If it would be possible to create a hirarchy somehow that would be great.... but for now, just opening a folder if it finds on and listing those files would be awesome!I have some code which I found online and it's




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: