05-07-2014 01:02 PM
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;
I appreciate any help, thanks in advance!
05-08-2014 08:44 AM
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.
05-08-2014 10:28 AM
As an alternative, why not use:
ods tagsets.execlxp file="....xls" options=(sheet_name="...");
proc report data=...
ods tagset close;
You can specify labels, filter, zoom and lots of other nice items.