<?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 Create a folder and within create an empty powerpoint with n sheets that will includes 'things'' in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-a-folder-and-within-create-an-empty-powerpoint-with-n/m-p/878187#M346956</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Maybe the topic wasen't the best, but here is a better explination of what I want to create &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I want to &lt;STRONG&gt;create&lt;/STRONG&gt; a folder and within this folder, &lt;STRONG&gt;create&lt;/STRONG&gt; an empty powerpoint with&lt;EM&gt; n&lt;/EM&gt; sheets that will includes 'things', where 'things' is the the code I write (ex. histogram, tabulates, and even text (i.e strings?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I think I will demonstrate how I started, &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Create the folder:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;%let year = 2023;  
options dlcreatedir;
libname out "PATH\&amp;amp;year";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This works fine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Then in this '2023'-folder, I would like to SAS to &lt;STRONG&gt;create&lt;/STRONG&gt; a powerpooint.file automaticlly not by going in to this '2023'-folder and right click and do this by hand. Maybe I think I would do something like this:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;/* this creates the empty PowerPoint file, but it dosen't save it in the '2023-folder */ 

ods _all_ close;
options date nonumber;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Here is just some random data I picked up so I can try it.... and maybe it could help you guys also &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;proc sort data=sashelp.prdsale out=prdsale;
   by Country;
run;&lt;/PRE&gt;&lt;P&gt;4) And this would be the creating the excel file? But once again, it not&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;automaticlly doing this&lt;/LI&gt;&lt;LI&gt;and I don't know what to do with my&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE class=""&gt;libname out&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;some thing like this????&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;OUT.&lt;/STRONG&gt;ods powerpoint file='PATH\test.pptx';

title 'Actual Product Sales';
title2 '(millions of dollars)';&lt;/PRE&gt;&lt;P&gt;And it dosen't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2&lt;/STRONG&gt;: After this works, how do I interpret &lt;EM&gt;n&lt;/EM&gt; sheets with example one with just text (description what this powerpoint is above for example) and one other sheets with tabulate/histograms WITH also explinations with text?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.. and it all will save this automaticlly in the '2023'-folder.&lt;BR /&gt;&lt;BR /&gt;Sorry if my english is not good, it's not my 1st langauge.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2023 10:04:51 GMT</pubDate>
    <dc:creator>melhaf</dc:creator>
    <dc:date>2023-05-30T10:04:51Z</dc:date>
    <item>
      <title>Create a folder and within create an empty powerpoint with n sheets that will includes 'things''</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-a-folder-and-within-create-an-empty-powerpoint-with-n/m-p/878187#M346956</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Maybe the topic wasen't the best, but here is a better explination of what I want to create &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I want to &lt;STRONG&gt;create&lt;/STRONG&gt; a folder and within this folder, &lt;STRONG&gt;create&lt;/STRONG&gt; an empty powerpoint with&lt;EM&gt; n&lt;/EM&gt; sheets that will includes 'things', where 'things' is the the code I write (ex. histogram, tabulates, and even text (i.e strings?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I think I will demonstrate how I started, &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Create the folder:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;%let year = 2023;  
options dlcreatedir;
libname out "PATH\&amp;amp;year";&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This works fine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Then in this '2023'-folder, I would like to SAS to &lt;STRONG&gt;create&lt;/STRONG&gt; a powerpooint.file automaticlly not by going in to this '2023'-folder and right click and do this by hand. Maybe I think I would do something like this:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;/* this creates the empty PowerPoint file, but it dosen't save it in the '2023-folder */ 

ods _all_ close;
options date nonumber;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Here is just some random data I picked up so I can try it.... and maybe it could help you guys also &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;proc sort data=sashelp.prdsale out=prdsale;
   by Country;
run;&lt;/PRE&gt;&lt;P&gt;4) And this would be the creating the excel file? But once again, it not&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;automaticlly doing this&lt;/LI&gt;&lt;LI&gt;and I don't know what to do with my&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE class=""&gt;libname out&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;some thing like this????&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;OUT.&lt;/STRONG&gt;ods powerpoint file='PATH\test.pptx';

title 'Actual Product Sales';
title2 '(millions of dollars)';&lt;/PRE&gt;&lt;P&gt;And it dosen't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2&lt;/STRONG&gt;: After this works, how do I interpret &lt;EM&gt;n&lt;/EM&gt; sheets with example one with just text (description what this powerpoint is above for example) and one other sheets with tabulate/histograms WITH also explinations with text?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.. and it all will save this automaticlly in the '2023'-folder.&lt;BR /&gt;&lt;BR /&gt;Sorry if my english is not good, it's not my 1st langauge.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 10:04:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-a-folder-and-within-create-an-empty-powerpoint-with-n/m-p/878187#M346956</guid>
      <dc:creator>melhaf</dc:creator>
      <dc:date>2023-05-30T10:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create a folder and within create an empty powerpoint with n sheets that will includes 'things''</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-a-folder-and-within-create-an-empty-powerpoint-with-n/m-p/878457#M347064</link>
      <description>&lt;P&gt;Use ODS POWERPOINT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title1 'PowerPoint Using Template Layout Twocontent with ODSLIST/GMAP';
footnote "The ODS Output Destination for PowerPoint";

ods powerpoint file="PATH/&amp;amp;year\Layout2List.pptx" layout=twocontent
    nogtitle nogfootnote;
proc odslist;
  item 'Pre-defined template';
  item 'Side-by-side output';
  item;
     p 'Use:';
     list / style=[bullet=check];
      item 'Tables';
      item 'Graphs';
      item 'Lists';
      item 'Text';
     end;
run;

goptions hsize=4.5in vsize=4.5in;
proc gmap map=maps.us data=maps.us all;
  id state;
  choro statecode/statistic=frequency discrete nolegend;
run;  
quit;

ods powerpoint;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings16/SAS5443-2016.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings16/SAS5443-2016.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings16/SAS3801-2016.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings16/SAS3801-2016.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/423316"&gt;@melhaf&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Maybe the topic wasen't the best, but here is a better explination of what I want to create &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I want to &lt;STRONG&gt;create&lt;/STRONG&gt; a folder and within this folder, &lt;STRONG&gt;create&lt;/STRONG&gt; an empty powerpoint with&lt;EM&gt; n&lt;/EM&gt; sheets that will includes 'things', where 'things' is the the code I write (ex. histogram, tabulates, and even text (i.e strings?)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I think I will demonstrate how I started, &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Create the folder:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;%let year = 2023;  
options dlcreatedir;
libname out "PATH\&amp;amp;year";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This works fine&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) Then in this '2023'-folder, I would like to SAS to &lt;STRONG&gt;create&lt;/STRONG&gt; a powerpooint.file automaticlly not by going in to this '2023'-folder and right click and do this by hand. Maybe I think I would do something like this:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;/* this creates the empty PowerPoint file, but it dosen't save it in the '2023-folder */ 

ods _all_ close;
options date nonumber;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) Here is just some random data I picked up so I can try it.... and maybe it could help you guys also &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;proc sort data=sashelp.prdsale out=prdsale;
   by Country;
run;&lt;/PRE&gt;
&lt;P&gt;4) And this would be the creating the excel file? But once again, it not&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;automaticlly doing this&lt;/LI&gt;
&lt;LI&gt;and I don't know what to do with my&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;libname out&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;some thing like this????&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;OUT.&lt;/STRONG&gt;ods powerpoint file='PATH\test.pptx';

title 'Actual Product Sales';
title2 '(millions of dollars)';&lt;/PRE&gt;
&lt;P&gt;And it dosen't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Q2&lt;/STRONG&gt;: After this works, how do I interpret &lt;EM&gt;n&lt;/EM&gt; sheets with example one with just text (description what this powerpoint is above for example) and one other sheets with tabulate/histograms WITH also explinations with text?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;.. and it all will save this automaticlly in the '2023'-folder.&lt;BR /&gt;&lt;BR /&gt;Sorry if my english is not good, it's not my 1st langauge.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;/P&gt;
&lt;P&gt;M&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 15:07:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-a-folder-and-within-create-an-empty-powerpoint-with-n/m-p/878457#M347064</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-05-31T15:07:51Z</dc:date>
    </item>
  </channel>
</rss>

