<?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: SAS DDE in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Instead-of-DDE-tagsets-or/m-p/308498#M1938</link>
    <description>&lt;P&gt;If you have specific problems with tagsets, please provide more information, such as SAS code used, any warning/error messages, Office version and bitness etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you wish go towards an application design, I would recommend SAS Add-in for MS Office, and let a Stored Process update your spreadsheet.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Nov 2016 13:40:34 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2016-11-01T13:40:34Z</dc:date>
    <item>
      <title>Instead of DDE, tagsets or...</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Instead-of-DDE-tagsets-or/m-p/308496#M1937</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;I have a question. Currently I'm using DDE to copypaste data from one excel into another and for formatting stuffs in local SAS.Can someone help me to do this without DDE is SAS.&lt;/P&gt;
&lt;P&gt;I tried tagsets excelxp too but when I tried to do it in a xlsm file the file become unusable. Please help me on this&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 13:41:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Instead-of-DDE-tagsets-or/m-p/308496#M1937</guid>
      <dc:creator>edineshkumar_it</dc:creator>
      <dc:date>2016-11-01T13:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DDE</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Instead-of-DDE-tagsets-or/m-p/308498#M1938</link>
      <description>&lt;P&gt;If you have specific problems with tagsets, please provide more information, such as SAS code used, any warning/error messages, Office version and bitness etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you wish go towards an application design, I would recommend SAS Add-in for MS Office, and let a Stored Process update your spreadsheet.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 13:40:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Instead-of-DDE-tagsets-or/m-p/308498#M1938</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-11-01T13:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DDE</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Instead-of-DDE-tagsets-or/m-p/308499#M1939</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a question &amp;amp; answer forum, not a training site. &amp;nbsp;If you have specific question then post them, with example test data (in the form of a datastep) and what the output should look like. &amp;nbsp;Tagsets.excelxp is quite powerful, but bear in mind that it generates XML output which Excel can read and interpret. &amp;nbsp;There is a newer version&amp;nbsp;ods excel:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2014/08/29/experimenting-with-ods-excel-to-create-spreadsheets-from-sas/" target="_blank"&gt;http://blogs.sas.com/content/sasdummy/2014/08/29/experimenting-with-ods-excel-to-create-spreadsheets-from-sas/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Which can create native XLSX files (which are ZIP files with various XML and other files within).&lt;/P&gt;
&lt;P&gt;You can also get data out to Excel by using proc export, CSV, libname excel.&lt;/P&gt;
&lt;P&gt;DDE is quite old now (decades), and doesn't work in some setups. &amp;nbsp;I would avoid it. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I would suggest is that if you are using Excel - in this case copy from one workbook to another - then it makes sense to use the native application - Excel + VBA. &amp;nbsp;It is a realy simple process to copy from one file to another in this manner:&lt;/P&gt;
&lt;PRE&gt;Sub Copy()
  Dim ws1 As Worksheet
  Set ws1 = ThisWorkbook.Worksheets("&amp;lt;Your Sheetname&amp;gt;")
  ws1.Copy ThisWorkbook.Sheets(Sheets.Count)
End Sub&lt;/PRE&gt;
&lt;P&gt;No reason to go out to a third party app like SAS to do things like this. &amp;nbsp;You can apply all Excel functions within there, and you don't need to save the VBA to the output file, just save it to an empty Excel file, and load/close your other files. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a final note, XLSM = Macro Enabled Excel file - this is not the basic Excel sheet, but contains a binary component. &amp;nbsp;SAS won't write out to these very well (they are not open source). &amp;nbsp;I am not surprised you end up with a corrupt file, as stated above tagsets.excelxp writes out XML text to a file which Excel can read and parse, it doesn't update a file in place. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 13:47:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Instead-of-DDE-tagsets-or/m-p/308499#M1939</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-11-01T13:47:08Z</dc:date>
    </item>
  </channel>
</rss>

