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: Import excel issues stata12
From
Dan Blanchette <[email protected]>
To
[email protected]
Subject
Re: st: Import excel issues stata12
Date
Wed, 6 Jun 2012 13:57:21 -0400 (EDT)
I am also not able to get -import excel- to load that Excel file
until I downloaded it.
Since you are wanting to write a loop, you could use Stata's
-copy- command:
. copy "http://www.pcr.uu.se/digitalAssets/64/64466_UCDP_DyadicDataset_v12011.xls" "C:\data\"
. import excel using "c:\data\64466_UCDP_DyadicDataset_v12011.xls", sheet("UCDP DyadicDataset") firstrow clear
Hope this helps,
Dan Blanchette
Research Programming Services
Carolina Population Center
University of North Carolina
Chapel Hill, NC 27516 USA
[email protected]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/