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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1470 views
  • 0 likes
  • 4 in conversation