Hi ,
Can you guys please help me out how to set the page size of an excel sheet using ods tagsets.excelxp options
and can you please tell me what is the default size of a page using ods tagsets.excelxp.
ex:
If the default page size is A3 and i what it to be changed to A4...
Hi:
This worked for me. See screen shot. Then use DOC='HELP' info in log to set margins, headers, etc.
cynthia
options papersize='A4';
ods tagsets.excelxp file='c:\temp\want_a4.xml' style=sasweb
options( Sheet_name = 'wantA4' Orientation = 'landscape' doc='help');
proc report data=sashelp.class(obs=5) nowd;
column name age sex height;
run;
ods _all_ close;
Hi:
This worked for me. See screen shot. Then use DOC='HELP' info in log to set margins, headers, etc.
cynthia
options papersize='A4';
ods tagsets.excelxp file='c:\temp\want_a4.xml' style=sasweb
options( Sheet_name = 'wantA4' Orientation = 'landscape' doc='help');
proc report data=sashelp.class(obs=5) nowd;
column name age sex height;
run;
ods _all_ close;
Thanks for your help and its working..........
Here at my site we set OPTIONS PAGESIZE = 'ISO A4' in the SAS autoexec program, because the default is 'LETTER', a US paper size standard.
We shouldn't have to because the locale should default it to A4 (non-US). No matter...setting it explicitly avoids problems between platform and SAS version upgrades. 8-)
I assume you mean OPTIONS PAPERSIZE:
1 OPTIONS PAGESIZE = 'ISO A4';
--------
18
ERROR 18-12: Option value for SAS option PAGESIZE must be between 15 and 32767.
2 OPTIONS PAPERSIZE = 'ISO A4';
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.