<?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: placer les rapport côte à côte dans la sortie ods excel in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/placer-les-rapport-c%C3%B4te-%C3%A0-c%C3%B4te-dans-la-sortie-ods-excel/m-p/892137#M352388</link>
    <description>&lt;P&gt;Personnellement, je n'ai jamais testé la macro&amp;nbsp;%Excel_enhance qui n'est sensée que fonctionner sous Windows ; elle est mentionnée dans la publication partagée par Koen &lt;A href="https://www.lexjansen.com/sesug/2018/SESUG2018_Paper-295_Final_PDF.pdf" target="_blank" rel="noopener"&gt;https://www.lexjansen.com/sesug/2018/SESUG2018_Paper-295_Final_PDF.pdf&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Le powershell mentionnée dans l'autre publication est aussi du code pour Windows. Le code fonctionne chez moi avec l'indication explicite des chemins d'accès au fichier excel et au fichier ps1 qu'il serait possible de supprimer ensuite avec la fonction fdelete par exemple: &lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-display-two-proc-tabulate-next-to-each-other-in-a/td-p/637728" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-display-two-proc-tabulate-next-to-each-other-in-a/td-p/637728&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;On peut toujours les re´sultats dans un même dataset (1ere obs première table avec 1ère obs deuxième table) mais le rendu ne sera pas génial.&lt;/P&gt;
&lt;P&gt;L'option start_at ne permettra pas de résoudre le problème.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2023 20:37:02 GMT</pubDate>
    <dc:creator>xxformat_com</dc:creator>
    <dc:date>2023-08-31T20:37:02Z</dc:date>
    <item>
      <title>placer les rapport côte à côte dans la sortie ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/placer-les-rapport-c%C3%B4te-%C3%A0-c%C3%B4te-dans-la-sortie-ods-excel/m-p/891321#M352123</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Je suis confronté à un obstacle lors de la création d’un rapport, et j’ai besoin de votre aide, s’il vous plaît.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Mon programme actuel génère les tableaux successivement.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Cependant, j’aimerais avoir la flexibilité de les organiser selon mes préférences.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Par exemple, dans le premier onglet, j’aimerais placer les tableaux 1 et 2 côte à côte, puis le troisième tableau en dessous.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Bref, je veux pouvoir disposer des tableaux à ma convenance sur une feuille Excel.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Malheureusement, mes tentatives jusqu’à présent n’ont pas été couronnées de succès.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;J’ai essayé d’utiliser « ods layout », mais apparemment la syntaxe que j’ai utilisée n’était pas correcte.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Merci pour votre aide précieuse&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ods excel file='chemin_example6.xlsx'

 

options( /*autofilter = "1-3" frozen_headers = "on" frozen_rowheaders = "1"*/ start_at='C3' sheet_interval='none' sheet_name='Cl');

proc report data=sashelp.class;

column age height weight;

define age / group;

define height / mean;

define weight / mean;

rbreak before / summarize; run;

proc report data=sashelp.class;

column sex height weight;

define sex / group;

define height / mean;

define weight / mean;

rbreak before / summarize;

run;

proc tabulate data=sashelp.class;

    class sex age;
    table  sex, age ;

run;

 

ods excel options (sheet_interval='output') ;

ods exclude all;

data _null_;

declare odsout obj() ;

run;

ods select all;

 

/*******************************************************************/

ods excel options (sheet_interval='none' sheet_name='H') ;

proc report data=sashelp.heart;

column bp_status height weight;

define bp_status / group;

define height / mean;

define weight / mean;

rbreak before / summarize;

run;

proc report data=sashelp.heart;

column sex height weight;

define sex / group;

define height / mean;

define weight / mean;

rbreak before / summarize;

run;

 

ods excel options (sheet_interval='output') ;

ods exclude all;

data _null_;

declare odsout obj() ;

run;

ods select all;

/*******************************************************************/

 

ods excel options (sheet_interval='none' sheet_name='ttt') ;

proc report data=sashelp.heart;

column bp_status height weight;

define bp_status / group;

define height / mean;

define weight / mean;

rbreak before / summarize;

run;

proc report data=sashelp.heart;

column sex height weight;

define sex / group ;

define height / mean;

define weight / mean;

rbreak before / summarize;

run;

ods excel close ;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:46:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/placer-les-rapport-c%C3%B4te-%C3%A0-c%C3%B4te-dans-la-sortie-ods-excel/m-p/891321#M352123</guid>
      <dc:creator>sniper</dc:creator>
      <dc:date>2023-08-28T13:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: placer les rapport côte à côte dans la sortie ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/placer-les-rapport-c%C3%B4te-%C3%A0-c%C3%B4te-dans-la-sortie-ods-excel/m-p/891572#M352205</link>
      <description>&lt;P&gt;Dag&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/449467"&gt;@sniper&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personnellement, j'essaierais avec PROC TEMPLATE et / ou PROC GREPLAY.&lt;/P&gt;
&lt;P&gt;Mais si j'étais vous, je jetterais d'abord un œil aux références ci-dessous.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[ Un dernier point : en posant votre question en français, vous avez beaucoup moins de portée. J'essaierais de poser la question en anglais, ... vous aurez alors de bien meilleures chances d'obtenir une réponse rapide et correcte. ]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL class="lia-list-style-type-square"&gt;
&lt;LI&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;How can I display two proc tabulate next to each other in a excel file+ods&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-display-two-proc-tabulate-next-to-each-other-in-a/td-p/637728" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-display-two-proc-tabulate-next-to-each-other-in-a/td-p/637728&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Side-by-side sgplot in ODS excel&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Side-by-side-sgplot-in-ODS-excel/td-p/757153" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Side-by-side-sgplot-in-ODS-excel/td-p/757153&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Tips for Using the ODS Excel Destination &lt;BR /&gt;By Chevell Parker on SAS Users February 20, 2017&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sgf/2017/02/20/tips-for-using-the-ods-excel-destination/" target="_blank"&gt;https://blogs.sas.com/content/sgf/2017/02/20/tips-for-using-the-ods-excel-destination/&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Paper SAS2174-2018&lt;BR /&gt;Insights from a SAS Technical Support Guy:&lt;BR /&gt;A Deep Dive into the SAS® ODS Excel Destination&lt;BR /&gt;Chevell Parker, SAS Institute Inc. &lt;BR /&gt;&lt;A href="https://www.lexjansen.com/sesug/2018/SESUG2018_Paper-295_Final_PDF.pdf" target="_blank"&gt;https://www.lexjansen.com/sesug/2018/SESUG2018_Paper-295_Final_PDF.pdf&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;PHUSE EU 2019 -- Paper CT09&lt;BR /&gt;SAS outputs in Excel workbook using ODS Excel&lt;BR /&gt;Meghana Mahajani, Cytel Statistical Software &amp;amp; Services Pvt. Ltd., Pune, India&lt;BR /&gt;&lt;A href="https://www.lexjansen.com/phuse/2019/ct/CT09.pdf" target="_blank"&gt;https://www.lexjansen.com/phuse/2019/ct/CT09.pdf&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 18:12:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/placer-les-rapport-c%C3%B4te-%C3%A0-c%C3%B4te-dans-la-sortie-ods-excel/m-p/891572#M352205</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-08-29T18:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: placer les rapport côte à côte dans la sortie ods excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/placer-les-rapport-c%C3%B4te-%C3%A0-c%C3%B4te-dans-la-sortie-ods-excel/m-p/892137#M352388</link>
      <description>&lt;P&gt;Personnellement, je n'ai jamais testé la macro&amp;nbsp;%Excel_enhance qui n'est sensée que fonctionner sous Windows ; elle est mentionnée dans la publication partagée par Koen &lt;A href="https://www.lexjansen.com/sesug/2018/SESUG2018_Paper-295_Final_PDF.pdf" target="_blank" rel="noopener"&gt;https://www.lexjansen.com/sesug/2018/SESUG2018_Paper-295_Final_PDF.pdf&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Le powershell mentionnée dans l'autre publication est aussi du code pour Windows. Le code fonctionne chez moi avec l'indication explicite des chemins d'accès au fichier excel et au fichier ps1 qu'il serait possible de supprimer ensuite avec la fonction fdelete par exemple: &lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-display-two-proc-tabulate-next-to-each-other-in-a/td-p/637728" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/How-can-I-display-two-proc-tabulate-next-to-each-other-in-a/td-p/637728&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;On peut toujours les re´sultats dans un même dataset (1ere obs première table avec 1ère obs deuxième table) mais le rendu ne sera pas génial.&lt;/P&gt;
&lt;P&gt;L'option start_at ne permettra pas de résoudre le problème.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 20:37:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/placer-les-rapport-c%C3%B4te-%C3%A0-c%C3%B4te-dans-la-sortie-ods-excel/m-p/892137#M352388</guid>
      <dc:creator>xxformat_com</dc:creator>
      <dc:date>2023-08-31T20:37:02Z</dc:date>
    </item>
  </channel>
</rss>

