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: outsheet and variable labels

From   Paul Byatta <>
Subject   st: outsheet and variable labels
Date   Sun, 2 Jun 2013 21:03:03 +0300

Hi All,

I was wondering whether there is a way of displaying variable labels
instead of variable names when I outsheet results to an excel/csv

I understand the command below adds a variable label on a variable name.

label variable vlg_id "Village ID"

But how do I make "Village ID" appear on my excel/csv instead of "vlg_id"

My ousheet command looks like this

outsheet using VillageID.csv, comma replace

*   For searches and help try:

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