<?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: how to export graph into worksheet in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456530#M115645</link>
    <description>&lt;P&gt;resolved in adding below code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods excel options(sheet_interval="table");&lt;BR /&gt;ods exclude all;&lt;BR /&gt;data _null_;&lt;BR /&gt;file print;&lt;BR /&gt;put _all_;&lt;BR /&gt;run;&lt;BR /&gt;ods select all;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Apr 2018 13:54:45 GMT</pubDate>
    <dc:creator>radha009</dc:creator>
    <dc:date>2018-04-23T13:54:45Z</dc:date>
    <item>
      <title>how to export graph into worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456369#M115583</link>
      <description>&lt;P&gt;The graph is not exporting to excel all datasets are displaying&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file="C:\Dashboard\SAS\Dashboard.xml" style=styles.excel_update&lt;BR /&gt;options(sheet_name='Ent' embedded_titles="yes" sheet_interval="none");&lt;BR /&gt;proc report data=dash.Ent_AllInc_Final;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=dash.ENT_L2Inc_Final;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=dash.Ent_pie_Final;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=dash.Ent_Top_apps;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=dash.Ent_change_req;&lt;BR /&gt;run;&lt;BR /&gt;proc sgplot data=dash.Ent_Top_apps;&lt;BR /&gt;vbar Affected_CI / reponse=count stat=mean fillattrs=(color=lightblue) barwidth= .25;&lt;BR /&gt;xaxis display=(nolabel);&lt;BR /&gt;yaxis display=(nolabel) grid;&lt;BR /&gt;run;&lt;BR /&gt;ods excel close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 02:33:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456369#M115583</guid>
      <dc:creator>radha009</dc:creator>
      <dc:date>2018-04-23T02:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to export graph into worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456370#M115584</link>
      <description>&lt;P&gt;You're mixing and matching there, you open with ODS TAGSETS.EXCELXP and closing with ODS EXCEL.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TAGSETS.EXCELXP does not support graphics, ODS EXCEL will do it by default.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 02:35:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456370#M115584</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-23T02:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to export graph into worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456382#M115586</link>
      <description>&lt;P&gt;i started writing my code with excel and then changed to excelxp due to i have 3 datasets &amp;amp; 1 graph&amp;nbsp; to display in multiple sheets,&lt;/P&gt;&lt;P&gt;sheet 1( 3 datasets and graph) sheet2 ( 3 datasets and graph) sheet 3 ( 2 datasets and 2 graph)&lt;/P&gt;&lt;P&gt;with excel all data is displaying in one sheet.so i changed to excelxp the multiplesheet issue is resolved but graphs are not displaying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to display datasets and graph in multiple sheets. Thanks a lot in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 03:13:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456382#M115586</guid>
      <dc:creator>radha009</dc:creator>
      <dc:date>2018-04-23T03:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to export graph into worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456385#M115587</link>
      <description>&lt;P&gt;Did you run your code with ODS EXCEL?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The SGPLOT will output directly to the Excel file...I'm not understanding the issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TAGSETS.EXCELXP generates an XML file and XML does not support images, so you cannot use that. The features you're mentioning, multiple worksheets, are available in ODS Excel as well. Search for the papers by Chevell Parker regarding ODS EXCEL and you'll find examples and demo code. So far, there's nothing in your code that shows an attempt at generating multi sheets, in fact, you've explicitly chosen a single sheet with sheet_interval='none'.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/192083"&gt;@radha009&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;i started writing my code with excel and then changed to excelxp due to i have 3 datasets &amp;amp; 1 graph&amp;nbsp; to display in multiple sheets,&lt;/P&gt;
&lt;P&gt;sheet 1( 3 datasets and graph) sheet2 ( 3 datasets and graph) sheet 3 ( 2 datasets and 2 graph)&lt;/P&gt;
&lt;P&gt;with excel all data is displaying in one sheet.so i changed to excelxp the multiplesheet issue is resolved but graphs are not displaying.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to display datasets and graph in multiple sheets. Thanks a lot in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 03:23:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456385#M115587</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-23T03:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to export graph into worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456395#M115592</link>
      <description>&lt;P&gt;with excel the graph is working fine but it is displaying different sheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;BR /&gt;ods excel file="C:\Dashboard\SAS\Dash2.xlsx" &amp;nbsp;&lt;BR /&gt;options(sheet_name='Ent_BTO') style=styles.sansprinter;;&lt;BR /&gt;proc report data=dash.Ent_AllInc_Final;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=dash.ENT_L2Inc_Final;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=dash.Ent_Top_apps;&lt;BR /&gt;run;&lt;BR /&gt;ods graphics / height=600 width=1000 noborder;&lt;BR /&gt;proc sgplot data=dash.Ent_Top_apps;&lt;BR /&gt;vbar Affected_CI / reponse=count stat=mean fillattrs=(color=lightblue) barwidth= .25;&lt;BR /&gt;xaxis display=(nolabel);&lt;BR /&gt;yaxis display=(nolabel) grid;&lt;BR /&gt;run;&lt;BR /&gt;ods excel options(sheet_name='ICM_BTO' embedded_titles="yes" );&lt;BR /&gt;proc report data=dash.ICM_AllInc_Final;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=dash.ICM_Top_apps;&lt;BR /&gt;run;&lt;BR /&gt;ods graphics / height=600 width=1000 noborder;&lt;BR /&gt;proc sgplot data=dash.ICM_Top_apps;&lt;BR /&gt;vbar Affected_CI / reponse=count stat=mean fillattrs=(color=lightblue) barwidth= .25;&lt;BR /&gt;xaxis display=(nolabel);&lt;BR /&gt;yaxis display=(nolabel) grid;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=dash.ICM_change_req;&lt;BR /&gt;run;&lt;BR /&gt;ods excel options(sheet_name='MF_BTO' embedded_titles="yes" );&lt;BR /&gt;proc report data=dash.MF_AllInc_Final;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=dash.MF_L2Inc_Final;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=dash.MF_pie_Final;&lt;BR /&gt;run;&lt;BR /&gt;ods graphics / height=600 width=1000 noborder;&lt;BR /&gt;proc sgplot data=dash.MF_Top_apps;&lt;BR /&gt;vbar Affected_CI / reponse=count stat=mean fillattrs=(color=lightblue) barwidth= .25;&lt;BR /&gt;xaxis display=(nolabel);&lt;BR /&gt;yaxis display=(nolabel) grid;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=dash.MF_Major_INC;&lt;BR /&gt;run;&lt;BR /&gt;ods excel options(sheet_name='SFSS_BTO' embedded_titles="yes" );&lt;BR /&gt;proc report data=dash.SFSS_AllInc_Final;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=dash.SFSS_L2Inc_Final;&lt;BR /&gt;run;&lt;BR /&gt;proc report data=dash.SFSS_pie_Final;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods excel close;&lt;BR /&gt;ods listing;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 04:05:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456395#M115592</guid>
      <dc:creator>radha009</dc:creator>
      <dc:date>2018-04-23T04:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to export graph into worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456396#M115593</link>
      <description>&lt;P&gt;I cannot see your output, log or run your code. What does the following mean?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;with excel the graph is working fine but it is displaying different sheet.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 23 Apr 2018 04:08:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456396#M115593</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-23T04:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to export graph into worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456398#M115594</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="excel.jpg" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/20032i5570B01CF4A5FDF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="excel.jpg" alt="excel.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;expecting one Ent_BTO ,ICM_BTO tabs with datasets and graph in each sheet.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 04:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456398#M115594</guid>
      <dc:creator>radha009</dc:creator>
      <dc:date>2018-04-23T04:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to export graph into worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456399#M115595</link>
      <description>&lt;P&gt;You aren't controlling your sheet_interval properly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To keep all output on one sheet initially set sheet_interval='none'.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;But then when you want to start a new sheet, you need to specify that, sheet_interval='now' will create a new sheet. See the example below. There are many examples on line as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file='/folders/myfolders/demo.xlsx' style=meadow

/*Sets sheet name and no new sheet unless set*/
options (sheet_interval='none' sheet_name="Reeza1" embedded_titles='yes');
title 'Class data';

proc print data=sashelp.class;
run;

title 'Cars data';

proc print data=sashelp.cars (obs=20);
run;

title;
proc sgplot data=sashelp.cars;
    scatter x=mpg_city y=mpg_highway;
run;

/*This options tells SAS to starts a new sheet*/
ods excel options (sheet_interval='now' sheet_name='Reeza2');
title 'Air data';

proc print data=sashelp.air;
run;

title 'Shoes data';

proc print data=sashelp.shoes(obs=20);
run;

title;
proc sgplot data=sashelp.class;
    scatter x=height y=weight / group=sex;
run;

ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Apr 2018 04:17:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456399#M115595</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-23T04:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to export graph into worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456400#M115596</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/192083"&gt;@radha009&lt;/a&gt;&amp;nbsp;please take the time to add more details to your questions initially. It helps us understand what you want and will get you better&amp;nbsp;answers.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 04:18:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456400#M115596</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-23T04:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to export graph into worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456401#M115597</link>
      <description>&lt;P&gt;NOTE: There were 3 observations read from the data set DASH.ICM_MAJOR_INC.&lt;BR /&gt;NOTE: PROCEDURE REPORT used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.07 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.03 seconds&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ERROR: Argument now for word option sheet_interval not recognized. Expecting one of these&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; keywords output, table, page, bygroup, bygroups, proc, none or none.&lt;BR /&gt;12015&amp;nbsp; ods excel options(sheet_name='MF_BTO' embedded_titles="yes" sheet_interval='now' );&lt;BR /&gt;12016&amp;nbsp; title "All Incidents - MF by Group";&lt;BR /&gt;12017&amp;nbsp; proc report data=dash.MF_AllInc_Final;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 04:30:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456401#M115597</guid>
      <dc:creator>radha009</dc:creator>
      <dc:date>2018-04-23T04:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to export graph into worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456530#M115645</link>
      <description>&lt;P&gt;resolved in adding below code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods excel options(sheet_interval="table");&lt;BR /&gt;ods exclude all;&lt;BR /&gt;data _null_;&lt;BR /&gt;file print;&lt;BR /&gt;put _all_;&lt;BR /&gt;run;&lt;BR /&gt;ods select all;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 13:54:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456530#M115645</guid>
      <dc:creator>radha009</dc:creator>
      <dc:date>2018-04-23T13:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to export graph into worksheet</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456548#M115653</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/192083"&gt;@radha009&lt;/a&gt;&amp;nbsp;that's only required if you're on an earlier version of SAS (ie 9.4 TS1M3 or lower).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 14:42:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-export-graph-into-worksheet/m-p/456548#M115653</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-23T14:42:13Z</dc:date>
    </item>
  </channel>
</rss>

