Hope all are doing great. Bit new to VBA so I need your help to create code for below situation.
I have an excel where at
F4 - i have a folder path which contains excel files
In F5 i have one excel file name contain in F4 path
- Sample No Match 20200728.xlsx
In F6, i have one more excel file name contain in f4 path
- Sample Yes Match 20200728.xlsx
Now i want my macro to -
- Go to F4 Path
- Create New Workbook by name of "Consolidated Sample Today"
- Copy and paste the data of file in F5 into new workbook
- Copy and paste the data of file.in F6 after the data of F5 ( Below of that as it has same header)
- Save and close all workbook in F4 path
Please let me.know.if you need any further information on the same. Your response will.be appreciated
Note - I have to pick file.name from excel only