Hi all,
I need a macro to rename some files with specific names. I'll be very thankful if someone can help me, because I have to rename a lot of files every month.
I have many files named like:
John-2001021358-Company Name-June 2011-EX.xlsx
Peter-2001522398-Company Name-June 2011-EX.xlsx
... and so on in a specific shared drive.
Every month after an update I have to rename them to:
John-2001021358-Company Name-July 2011-EX.xlsx
Peter-2001522398-Company Name-July 2011-EX.xlsx
and so on every month.
Is there some one who can help me?
I figured it out with Name "C:\filename.xlsx" As "C:\filename.xlsx" but it takes so much time and its very primitive. If filenames will change, I have to change the code every time. That's why I need help.
Thank you in advance for your help!
I need a macro to rename some files with specific names. I'll be very thankful if someone can help me, because I have to rename a lot of files every month.
I have many files named like:
John-2001021358-Company Name-June 2011-EX.xlsx
Peter-2001522398-Company Name-June 2011-EX.xlsx
... and so on in a specific shared drive.
Every month after an update I have to rename them to:
John-2001021358-Company Name-July 2011-EX.xlsx
Peter-2001522398-Company Name-July 2011-EX.xlsx
and so on every month.
Is there some one who can help me?
I figured it out with Name "C:\filename.xlsx" As "C:\filename.xlsx" but it takes so much time and its very primitive. If filenames will change, I have to change the code every time. That's why I need help.
Thank you in advance for your help!