<?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: ODS Excel creates a spreadsheet with all sheets selected in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Excel-creates-a-spreadsheet-with-all-sheets-selected/m-p/421715#M20035</link>
    <description>&lt;P&gt;It sounds like the worksheets are grouped.&amp;nbsp; See the &lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/ungroup-xlsx-worksheets/td-p/265187" target="_self"&gt;ungroup xlsx worksheets&lt;/A&gt; thread for a link to a hot fix.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Dec 2017 21:16:33 GMT</pubDate>
    <dc:creator>SuzanneDorinski</dc:creator>
    <dc:date>2017-12-15T21:16:33Z</dc:date>
    <item>
      <title>ODS Excel creates a spreadsheet with all sheets selected</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Excel-creates-a-spreadsheet-with-all-sheets-selected/m-p/421563#M20032</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having trouble with xlsx files created using ODS excel. Each file is generated with all worksheets selected (so if you open the workbook all sheets are highlighted as though they have been selected together, but if you pick one the others go back to standard grey). This is causing problems for the team which use my file next.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way of getting ODS excel to not output like this? Code below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;* &amp;gt;&amp;gt; EXCEL &amp;lt;&amp;lt; ;
     
ods listing close;
ods _all_ close;
ods results off;

options missing=0;

ods Excel file = "&amp;amp;reportOutputPath\&amp;amp;ReportName..xlsx" options (index='OFF');

	* Sheet 1 : Summary ;
	ods Excel
	   options(sheet_name="Summary"
				sheet_interval='none'
	            zoom='100'
				absolute_column_width = "10,10,12,14,12,10"
	        	 );
	run;

	proc odstext;
	  p "&amp;amp;ReportName. Summary" / style=[color=black font_style=italic font_size=11pt font_weight=bold];
	run;

	proc report data = xs_summary_table ;
		column agency cover number ;
		define agency				/ display 'Agency';
		define cover				/ display 'Cover';
		define number				/ display 'Count';
	run;

	title;
	footnote;

	* Dummy worksheet ;
	ods excel options(sheet_interval="table");
	ods exclude all;
		data _null_;
		file print;
		put _all_;
		run;
	ods select all;

	* Sheet 2 : Successes ;
	ods Excel
	   options(sheet_name="Successes"
				sheet_interval='none'
	            zoom='100'
				absolute_column_width = "14,14,14,15.5,14,18,14,14,14,16,14,14,14,14,14,14,16.5,14,14,14,20,20,20,20,20,20,20"
	        	 );
	run;

	proc odstext;
	  p "Successes" / style=[color=black font_style=italic font_size=11pt font_weight=bold];
	run;

	proc report data = good ;
		column agency cover event account_number expected actual ;
		define agency				/ display 'Agency';
		define cover				/ display 'Cover';
		define event				/ display 'Event';
		define account_number		/ display 'Account Number';
		define expected				/ display 'Expected Result';
		define actual				/ display 'Actual Result';
	run;

	title;
	footnote;

ods excel close;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Dec 2017 13:37:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Excel-creates-a-spreadsheet-with-all-sheets-selected/m-p/421563#M20032</guid>
      <dc:creator>Meggles</dc:creator>
      <dc:date>2017-12-15T13:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Excel creates a spreadsheet with all sheets selected</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Excel-creates-a-spreadsheet-with-all-sheets-selected/m-p/421715#M20035</link>
      <description>&lt;P&gt;It sounds like the worksheets are grouped.&amp;nbsp; See the &lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/ungroup-xlsx-worksheets/td-p/265187" target="_self"&gt;ungroup xlsx worksheets&lt;/A&gt; thread for a link to a hot fix.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 21:16:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Excel-creates-a-spreadsheet-with-all-sheets-selected/m-p/421715#M20035</guid>
      <dc:creator>SuzanneDorinski</dc:creator>
      <dc:date>2017-12-15T21:16:33Z</dc:date>
    </item>
  </channel>
</rss>

