Hi,
The following documentation is quite useful
Point 1
Value for "Microsoft PowerPoint 2013 Support" is missing
fade
Point 2
I had to write 'none' when no effect option was available instead blank or just removing the parameter.
Point 3
Default effect is missing
Point 4
I didn't get them work
I'm working with SAS
9.04.01M5P091317
WX64_WKS
I'm using the last version provided in Microsoft Office 365.
I've just tried with SAS University Edition and get the same issue as with my own installation.
Here is an example which leads to the following message:
WARNING: Unrecognized effect option "particle_in" ignored.
%let xxroot=C:/Users/...;
ods _all_ close;
ods powerpoint file="&xxroot./test.pptx";
ods powerpoint options(backgroundimage="&xxroot./test.png");
ods powerpoint options(backgroundimage="&xxroot./test.png"
transition='shred'
effect_option='particle_in')
startpage=now;
ods powerpoint close;
I don't see the point of your question. The program shows you exactly an example where it doesn't work.
Your code does not work - I think because you don't have multiple slides so you don't have a transition.
This works fine for me with the specified transitions you've shown.
I'm on 9.4 M5 using Office 2016.
This code is from the SAS documentation.
/*ods powerpoint file="&xxroot./test.pptx" options(backgroundimage="\\GOA\MyDocs\F\fareeza.khurshed\My Pictures\delete_alt_new_line.JPG"*/
/* transition='shred'*/
/* effect_option='particle_in')*/
/* startpage=now;*/
/**/
/* proc print data=sashelp.class (obs=3);*/
/* run;*/
/* */
/*ods powerpoint close;*/
ods powerpoint file="&xxroot.example1.pptx" options(backgroundimage="M:\EFP\OSI\Statistical Services\References\Icons\MidBlue_PictographicIcon-01.png" transition='shred' effect_option='particle_in' ) startpage=now ;
title;
ods layout gridded x=10% y=25%;
proc odstext;
p "Have you heard?" /style=[just=c fontsize=42pt color=RoyalBlue];
p "The STARTPAGE= option has been added to the ODS POWERPOINT statement!" /style=[just=c fontsize=24pt];
run;
ods layout end;
ods layout gridded rows=1 columns=1;
ods region;
proc odstext;
p 'Table Shows Total Runs and Hits for Each League';
p 'The Graph Contains One Bubble for Each Player. The Size of Each Bubble Represents the Magnitude of the RBIs.';
run;
ods layout end;
ods graphics / width=4.5in height=4in;
ods layout gridded columns=2 column_widths=(47% 47%) column_gutter=1pct;
ods region;
proc tabulate data=sashelp.baseball;
class league;
var nruns nhits nrbi;
tables league='', sum='Totals'*(nruns nhits)*f=comma12.;
run;
ods region;
proc sgplot data=sashelp.baseball;
bubble x=nhits y=nruns size=nrbi/ group=league transparency=.3;
run;
ods layout end;
ods powerpoint close;
@xxformat_com wrote:
Here is an example which leads to the following message:
WARNING: Unrecognized effect option "particle_in" ignored.
%let xxroot=C:/Users/...; ods _all_ close; ods powerpoint file="&xxroot./test.pptx"; ods powerpoint options(backgroundimage="&xxroot./test.png"); ods powerpoint options(backgroundimage="&xxroot./test.png" transition='shred' effect_option='particle_in') startpage=now; ods powerpoint close;
Well in my code you have two slides and therefore a transition. If I put another effet, it works fine.
I've tried your code and get the same problem
WARNING: Unrecognized effect option "particle_in" ignored.
76 ods powerpoint file="&xxroot.example1.pptx" options(backgroundimage="&xxroot./test.png"
77 transition='shred' effect_option='particle_in' ) startpage=now ;
78 title;
79 ods layout gridded x=10% y=25%;
80 proc odstext;
81 p "Have you heard?" /style=[just=c fontsize=42pt color=RoyalBlue];
82 p "The STARTPAGE= option has been added to the ODS POWERPOINT statement!"
82 ! /style=[just=c fontsize=24pt];
83 run;
NOTE: PROCEDURE ODSTEXT used (Total process time):
real time 0.02 seconds
cpu time 0.01 seconds
I would contact SAS Tech support then regarding the error. FYI - if I run your code as is, it runs and I get a slide but no transition or effects.
However, if I do the same in PowerPoint, create a single slide with a transition/effect and no other slides I also don't get any effects either, even though they're selected. Only when I have two slides included do I get the transition/effect.
@xxformat_com wrote:
Well in my code you have two slides and therefore a transition. If I put another effet, it works fine.
I've tried your code and get the same problem
WARNING: Unrecognized effect option "particle_in" ignored. 76 ods powerpoint file="&xxroot.example1.pptx" options(backgroundimage="&xxroot./test.png" 77 transition='shred' effect_option='particle_in' ) startpage=now ; 78 title; 79 ods layout gridded x=10% y=25%; 80 proc odstext; 81 p "Have you heard?" /style=[just=c fontsize=42pt color=RoyalBlue]; 82 p "The STARTPAGE= option has been added to the ODS POWERPOINT statement!" 82 ! /style=[just=c fontsize=24pt]; 83 run; NOTE: PROCEDURE ODSTEXT used (Total process time): real time 0.02 seconds cpu time 0.01 seconds
Hi, I'm not sure why you're telling me that I'm only creating one slide. If you check the code, you'll see that I create two slides.
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.