Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: import excel and value labels

From   A Loumiotis <>
Subject   st: import excel and value labels
Date   Wed, 11 Dec 2013 10:39:29 +0200

I noticed that whenever I load an excel file in Stata using -import
excel- the existing values labels are deleted.  Is this the normal
behavior of -import excel-?

Here is an example:

. label define test 1 "yes" 2 "no"

. label l test
           1 yes
           2 no

. import excel book1.xlsx, clear first

. label l test
value label test not found
*   For searches and help try:

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