Hello,
Could you please help me on this :
I have a folder with different files named this way :
knowing that there are almost all days in the folder, I can create a local day = 1 and loop over files by doing something like :
Or, do you think it will be better if I just loop over all the files and split them in order to have the date ?
Thank you
Could you please help me on this :
I have a folder with different files named this way :
- test_report_day_month_year.xlsx and test_reporte_day_month_year.xlsx
- The day can be encoded on two digits or just one, for example I have : reporte_1_05_1999.xlsx and reporte_02_05_1999 and report_18_05_1999 in the same folder
knowing that there are almost all days in the folder, I can create a local day = 1 and loop over files by doing something like :
Code:
import excel "`path'\report*_`++day'_`month'_1999.xlsx", sheet("report") clear
Thank you
Comment