Hi Experts!
I want the sheet name to be the page in PROC TABULATE. For my example I need sheet names like Acura, Audi,............
ODS listing close;
ODS tagsets.ExcelXP
file='/home/suryakiran/excel_output/cars.xml'
STYLE=HTMLBlue
Options(embedded_titles = 'yes');
PROC TABULATE
DATA=SASHELP.CARS;
CLASS Type Model Make;
TABLE /*Page*/ Make,
/*Row */ Model ALL={LABEL="Total"},
/*Colm*/ Type*N N ;
RUN;
ODS tagsets.ExcelXP close;
Change MAKE into a By variable instead.
Then there are options within tag sets.
Change MAKE into a By variable instead.
Then there are options within tag sets.
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.
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.