Hi
I have taken the below code from someone else to merge the data from all workbooks in a folder:
This works fine but I have many files in the folder that have different names based on the first 3 characters (and with different dates), e.g file names are RAN02042016R, PAK01072016, ROS05042016, etc.
How can I amend the above code to open each file where the first 3 letters are the same and copy to a new workbook each time?
The end result in the example above would be to create 3 new workbooks and copy the data from all files with the names RAN, PAK and ROS respectively.
Many thanks
Bookmarks