<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: I need ODS PowerPoint to go to a new slide in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/I-need-ODS-PowerPoint-to-go-to-a-new-slide/m-p/478617#M21298</link>
    <description>&lt;P&gt;Hi with SAS9.4M4 the STARTPAGE=NOW option was added to begin output on a new slide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Find below your code with some modifications.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Added the STARTPAGE=NOW&lt;/P&gt;
&lt;P&gt;Also added some code since the table was not positioned properly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options nodate  center;
ods _all_ close;

ods graphics on/ reset border=off ANTIALIASMAX=100000 ATTRPRIORITY= COLOR SCALE = on;
ods graphics / HEIGHT = 3in WIDTH = 4in;

ods powerpoint FILE="c:\temp\testing.pptx" ;

/*begin first slide*/

title "IBM";/*the slide title*/
ods layout gridded columns=2 column_gutter=10px;
ods region;/*top left*/
title "high/low";/*the graph title*/
proc sgplot data=sashelp.stocks(where=(stock="IBM"));
series x=date y=high;
series x=date y=low;
run;
ods region;/*top right*/
title "close";/*the graph title*/
proc sgplot data=sashelp.stocks(where=(stock="IBM"));
series x=date y=close;
run;

ods layout end;
ods layout gridded columns=1;

ods region;
proc print data=sashelp.stocks(where=(stock="IBM") obs=3) ;
run;
title;
ods layout end;

ods powerpoint startpage=now;

/*second slide*/

title "Intel";/*the slide title*/
ods layout gridded columns=2 column_gutter=10px;
ods region;/*top left*/
title "high/low";/*the graph title*/
proc sgplot data=sashelp.stocks(where=(stock="Intel"));
series x=date y=high;
series x=date y=low;
run;
ods region;/*top right*/
title "close";/*the graph title*/
proc sgplot data=sashelp.stocks(where=(stock="Intel"));
series x=date y=close;
run;

ods layout end;
ods layout gridded columns=1;

ods region;
proc print data=sashelp.stocks(where=(stock="Intel") obs=3) ;
run;
title;
ods layout end;


ods _all_ close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 17 Jul 2018 11:40:15 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2018-07-17T11:40:15Z</dc:date>
    <item>
      <title>I need ODS PowerPoint to go to a new slide</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/I-need-ODS-PowerPoint-to-go-to-a-new-slide/m-p/363898#M18747</link>
      <description>&lt;P&gt;So this is clearly not producing what I want. To me, this should fill up my first layout with two graphs and a table, then move to a new slide with two more graphs and a table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options nodate papersize=(13.33in 7.5in);&lt;BR /&gt;ods graphics on/ reset border=off ANTIALIASMAX=100000 ATTRPRIORITY= COLOR SCALE = on;&lt;BR /&gt;ods powerpoint FILE="&amp;amp;path./&amp;amp;YYYYMM.\documents/testing.pptx" style=styles.mystyle;&lt;BR /&gt;ods graphics /HEIGHT = 4.4in WIDTH = 5.5in;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/*begin first slide*/&lt;/P&gt;
&lt;P&gt;title "IBM";/*the slide title*/&lt;BR /&gt;ods layout gridded columns=2 rows=2;&lt;BR /&gt;ods region;/*top left*/&lt;BR /&gt;title "high/low";/*the graph title*/&lt;BR /&gt;proc sgplot data=sashelp.stocks(where=(stock="IBM"));&lt;BR /&gt; series x=date y=high;&lt;BR /&gt; series x=date y=low;&lt;BR /&gt;run;&lt;BR /&gt;ods region;/*top right*/&lt;BR /&gt;title "close";/*the graph title*/&lt;BR /&gt;proc sgplot data=sashelp.stocks(where=(stock="IBM"));&lt;BR /&gt; series x=date y=close;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;ods region column_span=2 ;/*need to span both columns*/&lt;BR /&gt;proc print data=sashelp.stocks(where=(stock="IBM") obs=3) ;&lt;BR /&gt;run;&lt;BR /&gt;title;&lt;BR /&gt;ods layout end;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/*second slide*/&lt;/P&gt;
&lt;P&gt;title "Intel";/*the slide title*/&lt;BR /&gt;ods layout gridded columns=2 rows=2;&lt;BR /&gt;ods region;/*top left*/&lt;BR /&gt;title "high/low";/*the graph title*/&lt;BR /&gt;proc sgplot data=sashelp.stocks(where=(stock="Intel"));&lt;BR /&gt; series x=date y=high;&lt;BR /&gt; series x=date y=low;&lt;BR /&gt;run;&lt;BR /&gt;ods region;/*top right*/&lt;BR /&gt;title "close";/*the graph title*/&lt;BR /&gt;proc sgplot data=sashelp.stocks(where=(stock="Intel"));&lt;BR /&gt; series x=date y=close;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;ods region column_span=2 ;/*need to span both columns*/&lt;BR /&gt;proc print data=sashelp.stocks(where=(stock="Intel") obs=3) ;&lt;BR /&gt;run;&lt;BR /&gt;title;&lt;BR /&gt;ods layout end;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;ods _all_ close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if I add:&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt;dcl odsout obj();&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;between the two layouts as recommended in this paper:&amp;nbsp;&lt;SPAN&gt;support.sas.com/resources/papers/proceedings16/SAS5443-2016.pdf&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get everything garbled on the first page and no second page.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;that code is as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options nodate papersize=(13.33in 7.5in);&lt;BR /&gt;ods graphics on/ reset border=off ANTIALIASMAX=100000 ATTRPRIORITY= COLOR SCALE = on;&lt;BR /&gt;ods powerpoint FILE="&amp;amp;path./&amp;amp;YYYYMM.\documents/testing.pptx" style=styles.mystyle;&lt;BR /&gt;ods graphics /HEIGHT = 4.4in WIDTH = 5.5in;&lt;/P&gt;
&lt;P&gt;title "IBM";/*the slide title*/&lt;BR /&gt;ods layout gridded columns=2 rows=2;&lt;BR /&gt;ods region;&lt;BR /&gt;title "high/low";/*the graph title*/&lt;BR /&gt;proc sgplot data=sashelp.stocks(where=(stock="IBM"));&lt;BR /&gt; series x=date y=high;&lt;BR /&gt; series x=date y=low;&lt;BR /&gt;run;&lt;BR /&gt;ods region;&lt;BR /&gt;title "close";/*the graph title*/&lt;BR /&gt;proc sgplot data=sashelp.stocks(where=(stock="IBM"));&lt;BR /&gt; series x=date y=close;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;ods region column_span=2 ;/*need to span both columns*/&lt;BR /&gt;proc print data=sashelp.stocks(where=(stock="IBM") obs=3) ;&lt;BR /&gt;run;&lt;BR /&gt;title;&lt;BR /&gt;ods layout end;&lt;/P&gt;
&lt;P&gt;data _null_;&lt;BR /&gt;dcl odsout obj();&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;title "Intel";/*the slide title*/&lt;BR /&gt;ods layout gridded columns=2 rows=2;&lt;BR /&gt;ods region;&lt;BR /&gt;title "high/low";/*the graph title*/&lt;BR /&gt;proc sgplot data=sashelp.stocks(where=(stock="Intel"));&lt;BR /&gt; series x=date y=high;&lt;BR /&gt; series x=date y=low;&lt;BR /&gt;run;&lt;BR /&gt;ods region;&lt;BR /&gt;title "close";/*the graph title*/&lt;BR /&gt;proc sgplot data=sashelp.stocks(where=(stock="Intel"));&lt;BR /&gt; series x=date y=close;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;ods region column_span=2 ;/*need to span both columns*/&lt;BR /&gt;proc print data=sashelp.stocks(where=(stock="Intel") obs=3) ;&lt;BR /&gt;run;&lt;BR /&gt;title;&lt;BR /&gt;ods layout end;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;ods _all_ close;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What am I missing? How do I get my three regions on the first slide in one layout, then move to the next slide for the next three regions in another layout?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 18:07:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/I-need-ODS-PowerPoint-to-go-to-a-new-slide/m-p/363898#M18747</guid>
      <dc:creator>ANWZimmerman</dc:creator>
      <dc:date>2017-06-02T18:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: I need ODS PowerPoint to go to a new slide</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/I-need-ODS-PowerPoint-to-go-to-a-new-slide/m-p/363925#M18749</link>
      <description>&lt;P&gt;I am a little concerned with this bit:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;FILE&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="SAS Monospace" size="2"&gt;"&amp;amp;path./&amp;amp;YYYYMM.\documents/testing.pptx"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;why do you mix / and \ in the file name?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 20:00:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/I-need-ODS-PowerPoint-to-go-to-a-new-slide/m-p/363925#M18749</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-06-02T20:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: I need ODS PowerPoint to go to a new slide</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/I-need-ODS-PowerPoint-to-go-to-a-new-slide/m-p/477925#M21289</link>
      <description>&lt;P&gt;I'm running on Windows, they get treated the same. But some of the code I was cutting and pasting from comes from a coworker who does all his slashes like UNIX. I just didn't bother to alter his to match mine.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 15:45:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/I-need-ODS-PowerPoint-to-go-to-a-new-slide/m-p/477925#M21289</guid>
      <dc:creator>ANWZimmerman</dc:creator>
      <dc:date>2018-07-13T15:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: I need ODS PowerPoint to go to a new slide</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/I-need-ODS-PowerPoint-to-go-to-a-new-slide/m-p/478617#M21298</link>
      <description>&lt;P&gt;Hi with SAS9.4M4 the STARTPAGE=NOW option was added to begin output on a new slide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Find below your code with some modifications.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Added the STARTPAGE=NOW&lt;/P&gt;
&lt;P&gt;Also added some code since the table was not positioned properly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options nodate  center;
ods _all_ close;

ods graphics on/ reset border=off ANTIALIASMAX=100000 ATTRPRIORITY= COLOR SCALE = on;
ods graphics / HEIGHT = 3in WIDTH = 4in;

ods powerpoint FILE="c:\temp\testing.pptx" ;

/*begin first slide*/

title "IBM";/*the slide title*/
ods layout gridded columns=2 column_gutter=10px;
ods region;/*top left*/
title "high/low";/*the graph title*/
proc sgplot data=sashelp.stocks(where=(stock="IBM"));
series x=date y=high;
series x=date y=low;
run;
ods region;/*top right*/
title "close";/*the graph title*/
proc sgplot data=sashelp.stocks(where=(stock="IBM"));
series x=date y=close;
run;

ods layout end;
ods layout gridded columns=1;

ods region;
proc print data=sashelp.stocks(where=(stock="IBM") obs=3) ;
run;
title;
ods layout end;

ods powerpoint startpage=now;

/*second slide*/

title "Intel";/*the slide title*/
ods layout gridded columns=2 column_gutter=10px;
ods region;/*top left*/
title "high/low";/*the graph title*/
proc sgplot data=sashelp.stocks(where=(stock="Intel"));
series x=date y=high;
series x=date y=low;
run;
ods region;/*top right*/
title "close";/*the graph title*/
proc sgplot data=sashelp.stocks(where=(stock="Intel"));
series x=date y=close;
run;

ods layout end;
ods layout gridded columns=1;

ods region;
proc print data=sashelp.stocks(where=(stock="Intel") obs=3) ;
run;
title;
ods layout end;


ods _all_ close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Jul 2018 11:40:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/I-need-ODS-PowerPoint-to-go-to-a-new-slide/m-p/478617#M21298</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2018-07-17T11:40:15Z</dc:date>
    </item>
  </channel>
</rss>

