Hello all,
I have a directory of one sheet workbooks that are all the same template and need to have their sheet renamed from "Sheet1" to whatever the filename is to prepare them for merging into one larger workbook.
I know the code I need to make the change is 'activeSheet.name = activeWorkbook.name' but since I can't use Application.FileSearch anymore I need to know how to run a module that will easily open the files in the directory one at a time, make the name change, save the file and move on to the next one. I don't need to step in at any point as all the files are already saved with the correct name and they're all getting the same change.
Since nothing I've found online so far has worked I'm basically starting from scratch with a new module.
Can someone walk me through the proper way to run the loop to do this?
Thanks/
Bookmarks