Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Import excel issues stata12

From   Dan Blanchette <>
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 ""; "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

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index