Hi, I am trying to import multiple sheets from an excel file but am struggling to specify the name of the outputted dta files. I want each dta file to be saved as the sheet name in the imported excel file.
Here is my code:
This code imported each sheet but saved them as file_x.dta (where x = sheet number).
I was also wondering whether I can use the replace option?
Many thanks,
Liz
Here is my code:
Code:
xls2dta, allsheets : import excel using "bdnf_all.xlsx", firstrow
I was also wondering whether I can use the replace option?
Many thanks,
Liz
Comment