Hello,

I am very beginner in Stata, so sorry if my questions seem silly.

I am reading my friend's code, which converts excel file to .dta, and here is the code

xls2dta, save(C:\Users\X\Desktop\ENIAChiledata\data_dta,rep l ace) : import excel C:\Users\X\Desktop\ENIAChiledata\data_xls,firstrow

I googled and as I understand,

-save(C:\Users\XDesktop\ENIAChiledata\data_dta,repl ace) is to specifies where to put the .dta files after converting; but I do not understand the purpose of "replace" here?

Really appreciate any help!

Thanks,