I'm having trouble changing part of the file name for all the files in a particular folder. What I want to do is have an Input Box appear that I can input the current week. The macro will then find last week's number in the file name and replace it with the current number. The part I'm having trouble with is all the file names are slightly different. Here are file names: Week 21 Monday.xls, Week 21 Tuesday.xls, etc. for each day of the week.
I need a macro to change the numerical part of the file only with the number I input into the Input Box. Any help is greatly appreciated. I'm really close, but I cannot get this last part to work.
Bookmarks