Google: sas table height in ods powerpoint
For example.
https://support.sas.com/resources/papers/proceedings16/SAS5443-2016.pdf
Not much else we can say as no example given, no test data (form of datastep), what needs to come out, example output, what code you have etc.
Examples, code, logs, outputs? You have all this information, we have none of this information, how can we answer the question?
This is the code
data m;
infile datalines dlm=',';
input name:$25. num ;
datalines;
ABCD,0.20
EFG,0.17
HIG,0.32
ghf,0.24
;
run;
goptions device=png;
ods powerpoint file='twotable.pptx' nogtitle nogfootnote;
ods layout gridded columns=2 column_widths=(50% 50%) column_gutter=.1pct;
ods region ;
proc Report data=m
style(column)=[cellheight=2in]
style(report)={outputwidth=100%};
run;
ods region ;
proc Report data=m
style(report)={outputwidth=100%};
define name /style(column)={height=8pt};
run;
ods layout end;
ods powerpoint Close;
Interesting, I can't create pptx files from my SAS, probably because its MS proprietary as usual and backend if linux. So afraid I am going to have to leave this open for someone else to pick up. Only thing I could see that might help is this article:
https://blogs.sas.com/content/sgf/2017/11/17/ods-destination-powerpoint-new-option/
Which seems to indicate setting;
ods graphics / width=4.5in height=4in;
Can't test though.
GOPTIONS has nothing to do with the code shown. You have no Proc GPLOT GCHART GMAP or similar device based graphics output generated.
It is a suboptimal choice to not provide a fully qualified path for the output file. The relative path may place the output in strange locations.
And what do you want to change the height to?
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 25. 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.