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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: import excel data into STATA


From   Roger Harbord <rmharbord@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: import excel data into STATA
Date   Sat, 16 Oct 2010 14:11:33 +0100

Or tried making sure the relevant columns in Excel are formatted as
"Text" rather than "General" ?

Roger.
-- 
Roger Harbord
http://www.epi.bris.ac.uk/staff/rharbord.htm


On 16 October 2010 12:52, roland andersson <rolandersson@gmail.com> wrote:
> Have you tried xmluse?
>
> Roland Andersson
>
> 2010/10/15 sun samn <shwshang@hotmail.com>:
>>
>>
>> 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/


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