How to print variable label instead of variable name to an excel file?

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 7
Accepted Solution

How to print variable label instead of variable name to an excel file?

I am trying to export my table to an excel file. There is a labeled variable in my table and I would like to have that label name instead of the variable name printed out. Is there a way to get it work? Thanks! I used proc export and only variable name is printed out.


Accepted Solutions
Solution
‎01-06-2015 11:52 AM
Grand Advisor
Posts: 17,396

Re: How to print variable label instead of variable name to an excel file?

I think if you look in the log there's a warning that occurs.

You can also add a label option to add to your proc export statement.

View solution in original post


All Replies
Solution
‎01-06-2015 11:52 AM
Grand Advisor
Posts: 17,396

Re: How to print variable label instead of variable name to an excel file?

I think if you look in the log there's a warning that occurs.

You can also add a label option to add to your proc export statement.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 146 views
  • 0 likes
  • 2 in conversation