Hi!
When ods excel, default style is HTMLBlue.
like this.
For me, simple/naked/nostyle is better like this.
Is there way to get it?
I asked google but failed.
also
https://www.pharmasug.org/proceedings/2018/BB/PharmaSUG-2018-BB03.pdf
This document say "no style" means HTMLBlue. But I want totally simple/no style one.
Saying another way, I want make proc print / proc report with no style.
Thank you for your helping.
minimum ods excel code
ods excel file= "D:\test.xlsx" ;
proc odstext;
p "A";
run;
proc print data=sashelp.heart(obs=5);
var Status;
run;
ods excel close;
Thank you, this is what I want.
ods excel file= "D:\test.xlsx"
style=minimal
;
proc print data=sashelp.heart(obs=5);
var Status;
run;
ods excel close;
Clarification: if you do not specify a Style on an ODS destination statement then you get the default for the destination.
ODS Excel will default to the Style set as the default style for your SAS session which might be HTMLBlue.I know that it is not in my install because I set MEADOW as my default style.
Some destinations like ODS RTF will use their own preferred style RTF unless you specifically override it. ODS Powerpoint uses one of PowerPointLIght or PowerPointDark (or similar restricted styles as not all the PowerPoint features will work with just any style).
So you could set a style such as Minimal as your default or specify it as the style on the ODS destination statement.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.