Hi everyone,
I am using ODS ExcelXP on Mainframe to send a proc print output to Excel, however the format in the ODS output does not seem to agree with the format comma10. I specified in the proc print
For example:
Proc print data=test;
var Price;
format Price comma10. ;
run;
My SAS output:
Price
3,000,000
But my ODS output would have no comma:
Price
3000000
I used the TAGATTR in style option as follows (but still DOES NOT WORK)
ODS TAGSETS.EXCELXP Options(sheetname='xxxx');
proc print data=test label noobs;
var price/ style(data)={tagattr="format:comma10."};
run;
ODS _all_ close;
I would really appreciate it if someone could help me on this.
Thanks.
K
I am using ODS ExcelXP on Mainframe to send a proc print output to Excel, however the format in the ODS output does not seem to agree with the format comma10. I specified in the proc print
For example:
Proc print data=test;
var Price;
format Price comma10. ;
run;
My SAS output:
Price
3,000,000
But my ODS output would have no comma:
Price
3000000
I used the TAGATTR in style option as follows (but still DOES NOT WORK)
ODS TAGSETS.EXCELXP Options(sheetname='xxxx');
proc print data=test label noobs;
var price/ style(data)={tagattr="format:comma10."};
run;
ODS _all_ close;
I would really appreciate it if someone could help me on this.
Thanks.
K