Good morning ,
to export data in Excel file I use "Proc export" but with this procedure I can export a each tab in a proper sheet.
In this moment I need to export more tab in only one sheet (five tab with different column).
Can you help me?
I find some topics but without a result.
Tnks for your kindly help
Use ODS EXCEL with options sheet_name='whatever' and sheet_interval='none', and a series of PROC PRINTs.
See http://support.sas.com/kb/56/909.html
Your SAS needs to be updated, as you are at 9.4M0 or even older. The current version is 9.4M6.
There have been lots of useful additions/improvements in the meantime.
The SAS license includes the right to get updates at any time.
Good morning,
i find some solution to this problem but was wery old… and I try without success. Can you help me?
I need to put in the same spreadsheet more tables.
Tnks to all for your kindly help.
Well, xls is an outdated file-format, so there will be hardly any new information on how to solve the issue you have.
And in future messages please don't write the title in upcase.
Quick code example, tested on 9.4M6 on AIX:
ods excel file='$HOME/sascommunity/test.xlsx' options(sheet_name="Test" sheet_interval='none') style=egdefault;
proc print data=sashelp.class noobs;
run;
proc print data=sashelp.cars noobs;
run;
ods excel close;
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.