For example the path is c:\work
But c:\work
Has subfolders c:\work\01
c:\work\02
Etc etc
Every subfolder contains a file named Diff01.xls
I would like to know if it’s possible to create a macro that can search for every file named Diff01.xls in all subfolders of c:\work
For every file Diff01.xls found
Open Workbook
And than Application.Run "test001"
or something like if diff01.xls not found in c:\work\01 try in c:\work\02 ,03 and so on
Thank you all
But c:\work
Has subfolders c:\work\01
c:\work\02
Etc etc
Every subfolder contains a file named Diff01.xls
I would like to know if it’s possible to create a macro that can search for every file named Diff01.xls in all subfolders of c:\work
For every file Diff01.xls found
Open Workbook
And than Application.Run "test001"
or something like if diff01.xls not found in c:\work\01 try in c:\work\02 ,03 and so on
Thank you all