Bookmark and Share

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]

st: RE: import excel data into STATA


From   "Reg Jordan" <drreg@earthlink.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: import excel data into STATA
Date   Thu, 14 Oct 2010 22:05:15 -0400

Why not save Excel data as a csv file, then  import it into Stata by
insheet using filename.csv   ?

reg

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of sun samn
Sent: Thursday, October 14, 2010 8:39 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: import excel data into STATA



Hi, there,
   I use 'odbc load' to import excel data. It works fine for double 
variables(numbers), but not for string variable(letters). Basically when the
variable is string, the observation is zero.
   
   Does someone know how to fix this?
Thanks,

samn 

 		 	   		  
*
*   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/


*
*   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/


© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index