Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65147

Is "xls2dta" compatible with the option "cellrange" and "firstrow"?

$
0
0
Hi,

I am using xls2dta (from SSC) to convert all Excel files available in a folder to Stata datasets. I would like to import the first row as variables and I would like to start importing starting from cell A7 in Excel. With "import excel", I would usually use cellrange(A7) and "firstrow" option. I have tried to input these options in xld2dta but I could not find the right syntax. I currently have something of the kind (without options). Any suggestion?

Code:
xls2dta , save(c:/my_dta_files) : import excel c:/my_xls_files

Viewing all articles
Browse latest Browse all 65147

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>