Hello
I have main folder 's name is "DATA" in this directory " "C:\Users\Abdo\Desktop\"so to become "C:\Users\Abdo\Desktop\DATA\"
so the DATA folders contains many folders 01 , 02 ,03 and each folder contains PDF & EXCEL files their names are SR 2345678, PR 542200001 , RTR 123430009, ZXC 5677888,DC 000001
so what I want
EXAMPLE : folder 01 should create folders within 01 folder based on file name , for instance file SR 2345678 should create folder's name based on first part of the files names are existed within 01 folder like this : SR and move all of the files contain SR in first part of file name from folder 01 to folder SR whether .xls,xlsm,xlsx.... & PDF based on first part of name the file .the first part of file name will be two or three letters and space after it . and so on for all of folders are existed within DATA folder.
so I appreciate if anybody could help by macro does it that .
thanks
I have main folder 's name is "DATA" in this directory " "C:\Users\Abdo\Desktop\"so to become "C:\Users\Abdo\Desktop\DATA\"
so the DATA folders contains many folders 01 , 02 ,03 and each folder contains PDF & EXCEL files their names are SR 2345678, PR 542200001 , RTR 123430009, ZXC 5677888,DC 000001
so what I want
EXAMPLE : folder 01 should create folders within 01 folder based on file name , for instance file SR 2345678 should create folder's name based on first part of the files names are existed within 01 folder like this : SR and move all of the files contain SR in first part of file name from folder 01 to folder SR whether .xls,xlsm,xlsx.... & PDF based on first part of name the file .the first part of file name will be two or three letters and space after it . and so on for all of folders are existed within DATA folder.
so I appreciate if anybody could help by macro does it that .
thanks