<?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: Output exported with correct formatting, however blank value/numbers in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Output-exported-with-correct-formatting-however-blank-value/m-p/215220#M39718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure. Try another option&amp;nbsp; PRINTMISS &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Aug 2015 13:30:10 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2015-08-01T13:30:10Z</dc:date>
    <item>
      <title>Output exported with correct formatting, however blank value/numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-exported-with-correct-formatting-however-blank-value/m-p/215219#M39717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written a macro to ease my analysis of hospital discharge data. When exporting my output via ods tagsets.excelxp, the spreadsheet produced contains the correct row/column formats, however all the numbers/values are missing from the spreadsheet. Please see code below and advise: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;*will need to sort data by intent, before running macro; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;proc sort data=hospital.injury_HDD_C09_C13; by inj; run; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*macro written for injury counts by intent and mechanism followed by variables of interest; &lt;/P&gt;&lt;P&gt;%macro HDD_Counts (var);&amp;nbsp; &lt;/P&gt;&lt;P&gt;proc freq order=freq data=hospital.injury_HDD_C09_C13;&lt;/P&gt;&lt;P&gt;Tables cause*&amp;amp;var/missing; by inj; &lt;/P&gt;&lt;P&gt;format cause ca. inj int. agecat2 agecattwo. femage femage. maleage maleage. RACEth RACEth. patstat patstat. Fac fac.&lt;/P&gt;&lt;P&gt; county county_name. region region. population population. ISRCODE INM. ISRSITE2 I2M. ISRSITE3 I3M. ISRSITE ISM. inj INJM. ; run; &lt;/P&gt;&lt;P&gt;%mend HDD_Counts;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*HDD mechanism by intent injury counts: admission years (2009-2013); &lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file = 'G:\WIPP\Data Analyses\Descriptive Analysis\Ayear by Intent and Mech.xml'&amp;nbsp; style=statistical;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp options&amp;nbsp; (sheet_interval= 'bygroup');&lt;/P&gt;&lt;P&gt;%HDD_Counts (var=ayear);&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 20:51:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-exported-with-correct-formatting-however-blank-value/m-p/215219#M39717</guid>
      <dc:creator>Pedrino</dc:creator>
      <dc:date>2015-07-31T20:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Output exported with correct formatting, however blank value/numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-exported-with-correct-formatting-however-blank-value/m-p/215220#M39718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure. Try another option&amp;nbsp; PRINTMISS &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Aug 2015 13:30:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-exported-with-correct-formatting-however-blank-value/m-p/215220#M39718</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-08-01T13:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Output exported with correct formatting, however blank value/numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-exported-with-correct-formatting-however-blank-value/m-p/215221#M39719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it produce numbers when you just direct the output to listing (text) or a dataset (OUT= option on TABLES statement)?&lt;/P&gt;&lt;P&gt;.If not then the issue is your data (or the formats you attached to the CAUSE variable)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Aug 2015 14:20:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-exported-with-correct-formatting-however-blank-value/m-p/215221#M39719</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-08-01T14:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Output exported with correct formatting, however blank value/numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-exported-with-correct-formatting-however-blank-value/m-p/215222#M39720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output is produced within the SAS output and results window. The tagset.excelxp commands outputs correctly except for the numbers are missing. If I change the ODS export statement to MSOFFICE2K then the output is correctly export except for I'm wanting to create multiple spreadsheets and MSOFFICE2k does not have that function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea what could be causing the export tagset.excelxp statements to output blank values but correctly row and column formats? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 14:01:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-exported-with-correct-formatting-however-blank-value/m-p/215222#M39720</guid>
      <dc:creator>Pedrino</dc:creator>
      <dc:date>2015-08-04T14:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Output exported with correct formatting, however blank value/numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-exported-with-correct-formatting-however-blank-value/m-p/215223#M39721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xia, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is not missing and the tables are produced in the SAS output and results window. However, when I try to export to excel via tagsets.excelxp, I got blank values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 14:02:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-exported-with-correct-formatting-however-blank-value/m-p/215223#M39721</guid>
      <dc:creator>Pedrino</dc:creator>
      <dc:date>2015-08-04T14:02:37Z</dc:date>
    </item>
  </channel>
</rss>

