BookmarkSubscribeRSS Feed
xxformat_com
Barite | Level 11

Hi,

 

The following documentation is quite useful

 

https://documentation.sas.com/?docsetId=odsug&docsetTarget=p0ubuuul23fuotn1lsw2gg0e7vyy.htm&docsetVe...

 

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

  • ferris_wheel
  • cut : I guess it is through_black as no other effect_option is listed

Point 4

I didn't get them work

  • checkerboard, from_right
  • shred, particle_in
  • shred, particle_out
  • wipe, from_botttom_right
  • dissolve, none
  • flash, none
  • honeycomb, none
  • random, none

 

I'm working with SAS

9.04.01M5P091317

 

WX64_WKS

 

15 REPLIES 15
Cynthia_sas
SAS Super FREQ
Hi:
You indicated what version of SAS you're running, but not what version of PPT. What is your PowerPoint level. If your version of PowerPoint is 2013 or higher and your version of SAS is 9.4M5 and you can't make the transitions work, as documented, then Tech Support needs to look at ALL your code to determine if you've run into a bug or not.

My advice is that you open a track with Tech Support on this.
Cynthia
xxformat_com
Barite | Level 11

I'm using the last version provided in Microsoft Office 365.

Reeza
Super User
And you've been doing all the updates? Otherwise you may still be on an older version...
Reeza
Super User
And if you provide code, others can either verify your issue or let you know if it's something on your system or specifications.
Cynthia_sas
SAS Super FREQ
Hi:
If things don't work as advertised in the doc and you are using the newest versions of SAS and PPT, then I really recommend that you work with Tech Support on this.
Cynthia
xxformat_com
Barite | Level 11

I've just tried with SAS University Edition and get the same issue as with my own installation.

xxformat_com
Barite | Level 11

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;
Cynthia_sas
SAS Super FREQ
Hi:
Where's the rest of your code? Can you show ALL your code, not just the ODS statements?
Cynthia
xxformat_com
Barite | Level 11

I don't see the point of your question. The program shows you exactly an example where it doesn't work.

Reeza
Super User

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;

 

xxformat_com
Barite | Level 11

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
Reeza
Super User

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

 

 

xxformat_com
Barite | Level 11

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.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 15 replies
  • 1581 views
  • 0 likes
  • 3 in conversation