BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I use proc export to put my data into Excel but how can I have the Variable labels printed into Excel other than the Variable names.. I know ODS does't it by does Proc Export have some option to do that ??

Matt
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
PROC EXPORT in SAS 9.2 does have the LABEL option (I think it was new for 9.2, though so it might not work in SAS 9.1.3):
http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a000316288.htm

cynthia
deleted_user
Not applicable
You can also use the dblabel option in the Excel libname.

libname xls "C:\test.xls";
data mylib.mydata(dblabel=yes);
set new;
run;
libname xls clear;

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 876 views
  • 0 likes
  • 2 in conversation