Hello,
I would like to save the output of a result table in .png format so that I can then import it into a powerpoint. I searched, but couldn't find an answer. Can you help me ?
Sincerely yours,
Nathalie
Here, is an example :
data TP.freqs1;
set TP.freqs1;
label grp = 'Groupe' num1 = 'Numérateur' num2 = 'Dénominateur' rapport = 'Pourcentage';
run;
proc print data=TP.freqs1 noobs label;
where num1 ne .;
var grp num1 num2 rapport;
run;
Example:
ods printer printer=png file="test.png";
proc print data=sashelp.class;
run;
ods printer close;
Example:
ods printer printer=png file="test.png";
proc print data=sashelp.class;
run;
ods printer close;
Thank you very much.
There is a small point to improve, is it possible to remove "the SAS system" and the date?
Sincerely yours,
Nathalie
Thank you very much for your two responses, I obtain what I want.
SAS communities is wonderful.😊
Sincerely yours,
Nathalie
ODS printer printer=png file = "C:\Users\771\Pictures\test.png" ;
OPTIONS NODATE NONUMBER;
title;
proc print data=sashelp.class;
run;
ods printer close;
No, I don't know. I have to export my graphs and my tables in powerpoint, I am again a beginner (several years of illness) and I am alone to work in my team. In addition, I have to learn R for bioinformatics.🙄
https://documentation.sas.com/doc/en/pgmsascdc/v_040/odsgs/p0pt9frq9pagk3n1swh91pu3znzk.htm
Ideally, someday, HTML5 slides via HTML would be an ideal destination.
Thank you for your help and the links. Is it possible to make an output HTML with tabs ?
Nathalie
@Reeza wrote:
Also, you know that you can export straight to a PowerPoint file?
Yes you can output directly to PowerPoint, but you are limited in how much can appear on one slide in PowerPoint, you don't have complete control. There was a recent BASUG talk on this, and there are a lot of drawbacks to sending output directly to PowerPoint. I personally have decided to not even consider that as an option.
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!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.