<?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 Exporting results: formatting issues in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Exporting-results-formatting-issues/m-p/279059#M16160</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having issues with formatting when I export my results to Excel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the following code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS TAGSETS.EXCELXP
file="/folders/myfolders/sasuser.v94/Data.xlsx"
	STYLE=minimal 
	OPTIONS (embedded_titles='yes' embedded_footnotes='yes'
	Orientation = 'landscape'
				FitToPage = 'yes' 
				sheet_name='Data');
PROC FREQ data=lib.data;&lt;BR /&gt;tables example1*example2;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;ODS tagsets.excelxp close;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3696iE778BBFA0DC14B71/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-06-21 at 7.59.43 AM.png" title="Screen Shot 2016-06-21 at 7.59.43 AM.png" width="251" height="171" /&gt;&lt;/P&gt;&lt;P&gt;As you can see above, I end up with a row of numbers instead of&amp;nbsp;columns within each cell (see below).&lt;/P&gt;&lt;P&gt;This is what the results look like in SAS Studio:&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3697i7516D2EC4C80FDE1/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-06-21 at 8.02.51 AM.png" title="Screen Shot 2016-06-21 at 8.02.51 AM.png" /&gt;&lt;/P&gt;&lt;P&gt;How can I fix this?&lt;BR /&gt;&lt;BR /&gt;I apologize if I haven't asked this very clearly--I'm quite new to SAS!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2016 15:04:17 GMT</pubDate>
    <dc:creator>am2016</dc:creator>
    <dc:date>2016-06-21T15:04:17Z</dc:date>
    <item>
      <title>Exporting results: formatting issues</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Exporting-results-formatting-issues/m-p/279059#M16160</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having issues with formatting when I export my results to Excel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the following code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS TAGSETS.EXCELXP
file="/folders/myfolders/sasuser.v94/Data.xlsx"
	STYLE=minimal 
	OPTIONS (embedded_titles='yes' embedded_footnotes='yes'
	Orientation = 'landscape'
				FitToPage = 'yes' 
				sheet_name='Data');
PROC FREQ data=lib.data;&lt;BR /&gt;tables example1*example2;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;ODS tagsets.excelxp close;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3696iE778BBFA0DC14B71/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-06-21 at 7.59.43 AM.png" title="Screen Shot 2016-06-21 at 7.59.43 AM.png" width="251" height="171" /&gt;&lt;/P&gt;&lt;P&gt;As you can see above, I end up with a row of numbers instead of&amp;nbsp;columns within each cell (see below).&lt;/P&gt;&lt;P&gt;This is what the results look like in SAS Studio:&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/3697i7516D2EC4C80FDE1/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Screen Shot 2016-06-21 at 8.02.51 AM.png" title="Screen Shot 2016-06-21 at 8.02.51 AM.png" /&gt;&lt;/P&gt;&lt;P&gt;How can I fix this?&lt;BR /&gt;&lt;BR /&gt;I apologize if I haven't asked this very clearly--I'm quite new to SAS!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 15:04:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Exporting-results-formatting-issues/m-p/279059#M16160</guid>
      <dc:creator>am2016</dc:creator>
      <dc:date>2016-06-21T15:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting results: formatting issues</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Exporting-results-formatting-issues/m-p/279091#M16161</link>
      <description>&lt;P&gt;What version of SAS and tagsets are you using? This was a known issue but I thought it was fixed. The workaround was to use proc tabulate IIRC.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 16:47:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Exporting-results-formatting-issues/m-p/279091#M16161</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-06-21T16:47:11Z</dc:date>
    </item>
  </channel>
</rss>

