Hello Everyone,
I am working on one big project and need your small help in the same.
I want to move excel files to folder based on their file names. below is the example
- I have a folder path in A1
- B1 have date : 20-07-2020
- C1 have date : 15-07-2020
in path i have four files:
1. Sample 2020-07-20.xlsx
2. Example 2020-07-20.xlsx
3. Sample 2020-07-15.xlsx
4. Example 2020-07-15.xlsx
i want when i click on button, macro should go to
- A1 path
- then create two folders by the name of B1 and C1
- the move all 2020-07-2020 files to B1 folder and 2020-07-2020 files to C1
please help
I am working on one big project and need your small help in the same.
I want to move excel files to folder based on their file names. below is the example
- I have a folder path in A1
- B1 have date : 20-07-2020
- C1 have date : 15-07-2020
in path i have four files:
1. Sample 2020-07-20.xlsx
2. Example 2020-07-20.xlsx
3. Sample 2020-07-15.xlsx
4. Example 2020-07-15.xlsx
i want when i click on button, macro should go to
- A1 path
- then create two folders by the name of B1 and C1
- the move all 2020-07-2020 files to B1 folder and 2020-07-2020 files to C1
please help