BookmarkSubscribeRSS Feed
Ody
Quartz | Level 8 Ody
Quartz | Level 8

Hello all,

I know this has been covered here in the past but the solutions offered are not working for me so I will broach the topic again. ()

I'm trying to export label names to an excel file and I can't get the names to export, I keep getting the variable name. It's quite frustrating. Here is the code:

proc export data = Ser_ref

outfile='C:\Documents and Settings\Desktop\sf.xls'

label dbms=excel replace;

sheet='2014';

run;

I appreciate any help, thanks in advance!

3 REPLIES 3
Cynthia_sas
SAS Super FREQ

Hi:

  If the posted solutions are not working, then it's best to work with Tech Support. They can collect all the information they need, like your version of SAS, bitness (32/64) of SAS and Office, whether you have SAS/Access for PC Files installed and try to replicate that the posted code doesn't work.

cynthia

cwcaulkins
Fluorite | Level 6

"bitness"? learn a new word every day... Smiley HappySmiley HappySmiley Happy

RW9
Diamond | Level 26 RW9
Diamond | Level 26

As an alternative, why not use:

ods tagsets.execlxp file="....xls" options=(sheet_name="...");

proc report data=...

run;

ods tagset close;

You can specify labels, filter, zoom and lots of other nice items.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 3 replies
  • 1002 views
  • 0 likes
  • 4 in conversation