Hello,
I have built a macro to automatically go to a specific directory and a specific folder, however the names of the files I need to automatically locate change names every month.
I.e. - I hit the macro button and I'd like to automatically open a (pdf,xls,doc) file:
"C:\Matt\Files\ Pricing\Reports \GrossMargin\9279RebateDetai l.xls"
The only part of the file name that changes every month are the first four numbers before "RebateDeta il", and it's the only file with that name in the folder.
Can anyone assist with the code needed to automatically open the "RebateDeta il" file, regardless of the preceeding four digits?
Thank you!
Matt
I have built a macro to automatically go to a specific directory and a specific folder, however the names of the files I need to automatically locate change names every month.
I.e. - I hit the macro button and I'd like to automatically open a (pdf,xls,doc) file:
"C:\Matt\Files\ Pricing\Reports \GrossMargin\9279RebateDetai l.xls"
The only part of the file name that changes every month are the first four numbers before "RebateDeta il", and it's the only file with that name in the folder.
Can anyone assist with the code needed to automatically open the "RebateDeta il" file, regardless of the preceeding four digits?
Thank you!
Matt
Comment