<?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 SAS DDE in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-DDE/m-p/182562#M12737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I'm using sas dde to export SAS data in excel, but I'm not able to define the cell's formats. I would like also to define the formats of 5 coloumn(or line) togheter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you any idea?&lt;/P&gt;&lt;P&gt;could you suggest to me any documentary necessary to manipulate the cells of excel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Sep 2014 08:26:38 GMT</pubDate>
    <dc:creator>Rakeon</dc:creator>
    <dc:date>2014-09-02T08:26:38Z</dc:date>
    <item>
      <title>SAS DDE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-DDE/m-p/182562#M12737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I'm using sas dde to export SAS data in excel, but I'm not able to define the cell's formats. I would like also to define the formats of 5 coloumn(or line) togheter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you any idea?&lt;/P&gt;&lt;P&gt;could you suggest to me any documentary necessary to manipulate the cells of excel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 08:26:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-DDE/m-p/182562#M12737</guid>
      <dc:creator>Rakeon</dc:creator>
      <dc:date>2014-09-02T08:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DDE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-DDE/m-p/182563#M12738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, DDE is old, and whilst still supported it is not known for how long.&amp;nbsp; I would suggest that you investigate the ExcelXP tagset which is quite powerful.&amp;nbsp; This can generate an XML file which in turn then gets read into Excel.&amp;nbsp; You can apply formats and such like in the reporting step.&amp;nbsp; Note that the latest versions of Excel now utilize a zipped XML based format (rename .XLSX to .ZIP and you can see this).&amp;nbsp; The old proprietary binary format has been surpassed by the XML one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of tagset:&lt;/P&gt;&lt;P&gt;ods tagsets.excelxp file="...\temp.xlsx" style=statistical;&amp;nbsp; /* Note your style defines borders/colors etc. */&lt;/P&gt;&lt;P&gt;proc report data=sashelp.class nowd split="~";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; columns name sex weight;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define name / "Name";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define sex / "Sex";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; define weight / "Weight" style={tagattr='format:##0.0'};&amp;nbsp; /* Apply 3.1 format */&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;&lt;/P&gt;&lt;P&gt;Another alternative that I often suggest is to export your data to CSV from SAS, then have the Excel application load this CSV data into a template Excel file (write a simple VBA macro - plenty of examples on the web e.g. &lt;A href="http://www.zerrtech.com/content/excel-vba-open-csv-file-and-import" title="http://www.zerrtech.com/content/excel-vba-open-csv-file-and-import"&gt;Excel VBA open CSV file and import | Making the world simple through software.&lt;/A&gt;).&amp;nbsp; You then have the full functionality of Excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 08:32:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-DDE/m-p/182563#M12738</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-09-02T08:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DDE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-DDE/m-p/182564#M12739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you RW9,&lt;/P&gt;&lt;P&gt;but...&lt;/P&gt;&lt;P&gt;can you recommend to me some article in order to help me to set proc report?&lt;/P&gt;&lt;P&gt;I would like to understand how to set the cell's foreground or the style of the words that I will put on the cell....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 12:14:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-DDE/m-p/182564#M12739</guid>
      <dc:creator>Rakeon</dc:creator>
      <dc:date>2014-09-02T12:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DDE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-DDE/m-p/182565#M12740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Proc report is quite a wide subject.&amp;nbsp; Here are a couple of hits from Google on that.&lt;/P&gt;&lt;P&gt;General syntax: &lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002473620.htm"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002473620.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Some additional:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/rnd/papers/sgf07/sgf2007-report.pdf"&gt;http://support.sas.com/rnd/papers/sgf07/sgf2007-report.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://www2.sas.com/proceedings/sugi28/015-28.pdf" title="http://www2.sas.com/proceedings/sugi28/015-28.pdf"&gt;http://www2.sas.com/proceedings/sugi28/015-28.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will also need to understand (for any report destination now) proc template and styles.&amp;nbsp; These are the instructions on formatting of the output.&amp;nbsp; Can contain background/foreground colors, fonts etc.&amp;nbsp; Some intital hits on Google:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi31/112-31.pdf" title="http://www2.sas.com/proceedings/sugi31/112-31.pdf"&gt;http://www2.sas.com/proceedings/sugi31/112-31.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi29/246-29.pdf" title="http://www2.sas.com/proceedings/sugi29/246-29.pdf"&gt;http://www2.sas.com/proceedings/sugi29/246-29.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its worth learning all the above as from my experience it is widely used above other output procedures such as print/tabulate, and styles apply to any outputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 12:30:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-DDE/m-p/182565#M12740</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-09-02T12:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DDE</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-DDE/m-p/182566#M12741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Here's a reference for the ExcelXP features. The feature is the in the first column and paper reference in the last, with the option in the second. If you're brand new to ExcelXP you should also consider skimming all the papers before you start. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A 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;This is the official SAS quick reference&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_help.html" title="http://support.sas.com/rnd/base/ods/odsmarkup/excelxp_help.html"&gt;Base SAS: Quick Reference for TAGSETS.EXCELXP Tagset&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want DDE the discussion here has the relevant links:&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="133690" __jive_macro_name="message" class="jive_macro jive_macro_message" href="https://communities.sas.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 13:30:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/SAS-DDE/m-p/182566#M12741</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-09-02T13:30:13Z</dc:date>
    </item>
  </channel>
</rss>

