Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Difficulty with importing form Excel
From
daniel klein <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: Difficulty with importing form Excel
Date
Fri, 24 May 2013 22:30:22 +0200
You might want to look at -xls2dta- from the SSC archives.
Best
Daniel
--
to change their format to .dta. I am trying different variants of the
code below [...]
set more off
fs
foreach name in `r(files)'{
import excel using "D:\Users\n11094\Desktop\Rahavard Returns\New
folder\"`name', sheet("Sheet1"), clear
keep A G
drop in 1
save `name'
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/