How to get list of all files with ESY extension in a directory?

前端 未结 4 2014
野的像风
野的像风 2020-12-10 12:41

In VBA, how do I get a list of all the files with a specific extension in a specific directory?

i am unable to do Application.FileSearch, because i am u

4条回答
  •  既然无缘
    2020-12-10 13:22

    Dir("C:\yourPath\*.ESY", vbNormal) Returns the first file with esy extension. Each subsequent call to Dir() returns the next.

提交回复
热议问题