<?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: PROPER EXCELXP ODS TAGS FOR VERTICAL ALIGNMENT in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROPER-EXCELXP-ODS-TAGS-FOR-VERTICAL-ALIGNMENT/m-p/87248#M289247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried some of the default SAS styles to see if they come close to what you want? Style=journal and style=meadow are two that I like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe to have a number format, you can try formatting it in SAS first, with a format statement or use tag attr in excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this reference and then look up the appropriate paper for what you're trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://www.sas.com/events/cm/867226/ExcelXPPaperIndex.pdf" title="http://www.sas.com/events/cm/867226/ExcelXPPaperIndex.pdf"&gt;http://www.sas.com/events/cm/867226/ExcelXPPaperIndex.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS tagsets.excelxp FILE="ExcelResultsC.xls" style=journal;&lt;/P&gt;&lt;P&gt;PROC TABULATE DATA=RESULTS2 OUT=CHK2;&lt;/P&gt;&lt;P&gt;CLASS PRODUCT DPD_BUCKET DATA_MONTH;&lt;/P&gt;&lt;P&gt;VAR TOTAL_OS COUNT_OS;&lt;/P&gt;&lt;P&gt;TABLE PRODUCT, PRODUCT*DPD_BUCKET, DATA_MONTH*TOTAL_OS DATA_MONTH*COUNT_OS;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Sep 2013 21:47:32 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2013-09-18T21:47:32Z</dc:date>
    <item>
      <title>PROPER EXCELXP ODS TAGS FOR VERTICAL ALIGNMENT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROPER-EXCELXP-ODS-TAGS-FOR-VERTICAL-ALIGNMENT/m-p/87247#M289246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While having a piece of following code applied to export data to excel in ODS manner sure would oblige if any of you experts could advise me a good way to apply a simple format like &lt;EM&gt;&lt;STRONG&gt;top aligning&lt;/STRONG&gt;&lt;/EM&gt; the text and &lt;EM&gt;&lt;STRONG&gt;number format with&lt;/STRONG&gt;&lt;/EM&gt; 0 (Zero) decimal places and &lt;EM&gt;&lt;STRONG&gt;no background color&lt;/STRONG&gt;&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS tagsets.excelxp FILE="ExcelResultsC.xls";&lt;/P&gt;&lt;P&gt;PROC TABULATE DATA=RESULTS2 OUT=CHK2;&lt;/P&gt;&lt;P&gt;CLASS PRODUCT DPD_BUCKET DATA_MONTH;&lt;/P&gt;&lt;P&gt;VAR TOTAL_OS COUNT_OS;&lt;/P&gt;&lt;P&gt;TABLE PRODUCT, PRODUCT*DPD_BUCKET, DATA_MONTH*TOTAL_OS DATA_MONTH*COUNT_OS;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the appropriate code of defining a style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 21:43:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROPER-EXCELXP-ODS-TAGS-FOR-VERTICAL-ALIGNMENT/m-p/87247#M289246</guid>
      <dc:creator>FarazA_Qureshi</dc:creator>
      <dc:date>2013-09-18T21:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: PROPER EXCELXP ODS TAGS FOR VERTICAL ALIGNMENT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROPER-EXCELXP-ODS-TAGS-FOR-VERTICAL-ALIGNMENT/m-p/87248#M289247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried some of the default SAS styles to see if they come close to what you want? Style=journal and style=meadow are two that I like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe to have a number format, you can try formatting it in SAS first, with a format statement or use tag attr in excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this reference and then look up the appropriate paper for what you're trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://www.sas.com/events/cm/867226/ExcelXPPaperIndex.pdf" title="http://www.sas.com/events/cm/867226/ExcelXPPaperIndex.pdf"&gt;http://www.sas.com/events/cm/867226/ExcelXPPaperIndex.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS tagsets.excelxp FILE="ExcelResultsC.xls" style=journal;&lt;/P&gt;&lt;P&gt;PROC TABULATE DATA=RESULTS2 OUT=CHK2;&lt;/P&gt;&lt;P&gt;CLASS PRODUCT DPD_BUCKET DATA_MONTH;&lt;/P&gt;&lt;P&gt;VAR TOTAL_OS COUNT_OS;&lt;/P&gt;&lt;P&gt;TABLE PRODUCT, PRODUCT*DPD_BUCKET, DATA_MONTH*TOTAL_OS DATA_MONTH*COUNT_OS;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 21:47:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROPER-EXCELXP-ODS-TAGS-FOR-VERTICAL-ALIGNMENT/m-p/87248#M289247</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-09-18T21:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: PROPER EXCELXP ODS TAGS FOR VERTICAL ALIGNMENT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROPER-EXCELXP-ODS-TAGS-FOR-VERTICAL-ALIGNMENT/m-p/87249#M289248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're not using the output data set you might as well drop the code OUT_CHK2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set the default display for all statistics by using the option format = f8.0 on the proc tabulate statement, or if the numbers are larger increase the 8. If you want them displayed with commas then F=Comma8.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Colors as Reeza says by default come from the Style in effect which can be specified on either the Proc Tabulate or the ODS statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which text do you need Top Aligned? Again may be set in Style overides for specific variables or output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 22:04:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROPER-EXCELXP-ODS-TAGS-FOR-VERTICAL-ALIGNMENT/m-p/87249#M289248</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-09-18T22:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: PROPER EXCELXP ODS TAGS FOR VERTICAL ALIGNMENT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROPER-EXCELXP-ODS-TAGS-FOR-VERTICAL-ALIGNMENT/m-p/87250#M289249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx again for your help. Top alignment is required for the Row Headings. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 22:17:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROPER-EXCELXP-ODS-TAGS-FOR-VERTICAL-ALIGNMENT/m-p/87250#M289249</guid>
      <dc:creator>FarazA_Qureshi</dc:creator>
      <dc:date>2013-09-18T22:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROPER EXCELXP ODS TAGS FOR VERTICAL ALIGNMENT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROPER-EXCELXP-ODS-TAGS-FOR-VERTICAL-ALIGNMENT/m-p/87251#M289250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx for the helpful reply Reeza! However the style &lt;STRONG&gt;meadow&lt;/STRONG&gt; leads to an error upon opening the file in Excel while the &lt;STRONG&gt;journal&lt;/STRONG&gt; opens well.&lt;/P&gt;&lt;P&gt;Any reason?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 06:19:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROPER-EXCELXP-ODS-TAGS-FOR-VERTICAL-ALIGNMENT/m-p/87251#M289250</guid>
      <dc:creator>FarazA_Qureshi</dc:creator>
      <dc:date>2013-09-19T06:19:58Z</dc:date>
    </item>
  </channel>
</rss>

