Tuesday, December 18, 2018

Saving multiple Excel files as Stata files

In "C:\Users\budug\OneDrive\Documents\School\Projects ", I have a few Excel files, namely data_2004, data_2005,...,data_2018. Each file has exactly one sheet and row 1 contains variables' names. How can I save each Excel as a Stata file, retaining the same name?

No comments:

Post a Comment