<?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 Rename multiple excel worksheet names in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-excel-worksheet-names/m-p/391696#M25275</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have multiple Proc Tabulates that I export out to excel workbook and I need to be able to five each worksheet a meaningful name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the ODS EXCEL option of sheet_name that names the first sheet to 'Entered' - how do I now assign names to the other worksheets?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file="/sasdata/OTH_Baselining.xlsx" options(Embedded_Titles='yes'&lt;BR /&gt;Embedded_footnotes='YES' sheet_name='Entered');
ods escapechar="^";
Title1 font=Arial BOLD "Other Business Line Baseline";
Title2 font=Arial BOLD "01January 2017 to 20 August 2017";



Proc Tabulate data=work.Other_Baseline_SUM format=comma9.0 out=work.Other_Baseline_2;
	*/
	where Event_DT &amp;gt;= '01Jul2016'd;
	class Queue_type CLUSTER SDOCLUSTERPBS QUEUE_CD;
	VAR CALLS_Entered_CNT;

	Table 
		Queue_type = "" * Cluster = "" * SDOCLUSTERPBS = "" * queue_cd
		,CALLS_Entered_CNT="" * sum
		/ box= "Entered Calls"
	;
run;


Proc Tabulate data=work.Other_Baseline_SUM format=comma9.0 out=work.Other_Baseline_2;
	*/
	where Event_DT &amp;gt;= '01Jul2016'd;
	class Queue_type CLUSTER SDOCLUSTERPBS QUEUE_CD;
	VAR CALLS_Answered_CNT;

	Table 
		Queue_type = "" * Cluster = "" * SDOCLUSTERPBS = "" * queue_cd
		,CALLS_Answered_CNT="" * sum
		/ box= "Entered Calls"
	;
run;

Title1;
title2;
ODS EXcel close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;</description>
    <pubDate>Tue, 29 Aug 2017 23:53:35 GMT</pubDate>
    <dc:creator>DME790</dc:creator>
    <dc:date>2017-08-29T23:53:35Z</dc:date>
    <item>
      <title>Rename multiple excel worksheet names</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-excel-worksheet-names/m-p/391696#M25275</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have multiple Proc Tabulates that I export out to excel workbook and I need to be able to five each worksheet a meaningful name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the ODS EXCEL option of sheet_name that names the first sheet to 'Entered' - how do I now assign names to the other worksheets?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file="/sasdata/OTH_Baselining.xlsx" options(Embedded_Titles='yes'&lt;BR /&gt;Embedded_footnotes='YES' sheet_name='Entered');
ods escapechar="^";
Title1 font=Arial BOLD "Other Business Line Baseline";
Title2 font=Arial BOLD "01January 2017 to 20 August 2017";



Proc Tabulate data=work.Other_Baseline_SUM format=comma9.0 out=work.Other_Baseline_2;
	*/
	where Event_DT &amp;gt;= '01Jul2016'd;
	class Queue_type CLUSTER SDOCLUSTERPBS QUEUE_CD;
	VAR CALLS_Entered_CNT;

	Table 
		Queue_type = "" * Cluster = "" * SDOCLUSTERPBS = "" * queue_cd
		,CALLS_Entered_CNT="" * sum
		/ box= "Entered Calls"
	;
run;


Proc Tabulate data=work.Other_Baseline_SUM format=comma9.0 out=work.Other_Baseline_2;
	*/
	where Event_DT &amp;gt;= '01Jul2016'd;
	class Queue_type CLUSTER SDOCLUSTERPBS QUEUE_CD;
	VAR CALLS_Answered_CNT;

	Table 
		Queue_type = "" * Cluster = "" * SDOCLUSTERPBS = "" * queue_cd
		,CALLS_Answered_CNT="" * sum
		/ box= "Entered Calls"
	;
run;

Title1;
title2;
ODS EXcel close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 23:53:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-excel-worksheet-names/m-p/391696#M25275</guid>
      <dc:creator>DME790</dc:creator>
      <dc:date>2017-08-29T23:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rename multiple excel worksheet names</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-excel-worksheet-names/m-p/391705#M25276</link>
      <description>&lt;P&gt;I have used ODS excel options(sheet_name='XXXXX'); before each Proc Tabulate statement&amp;nbsp;to rename the worksheet - this seems to be working for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 00:47:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Rename-multiple-excel-worksheet-names/m-p/391705#M25276</guid>
      <dc:creator>DME790</dc:creator>
      <dc:date>2017-08-30T00:47:39Z</dc:date>
    </item>
  </channel>
</rss>

