<?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: DDE for exporting data to an existing excel sheet in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-for-exporting-data-to-an-existing-excel-sheet/m-p/305183#M1923</link>
    <description>&lt;P&gt;Yes, common thing this.&amp;nbsp; Look at what you do each time, is it exactly the same cells?&amp;nbsp; Excel is so loose that you might have to alter it each time anyway.&amp;nbsp; Now DDE does still work, for how long?&amp;nbsp; Its very old, and doesn't work on some setups.&amp;nbsp; Again, I would still go with my original suggestion.&amp;nbsp; Write some VBA, doesn't even have to be in that Excel file, a separate one which loads that file up, then loads the CSV data, then runs through some VBA code to put the data from the CSV where it should go, then save the file.&amp;nbsp; Its pretty simple.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Oct 2016 18:15:32 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2016-10-17T18:15:32Z</dc:date>
    <item>
      <title>DDE for exporting data to an existing excel sheet</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-for-exporting-data-to-an-existing-excel-sheet/m-p/305121#M1919</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an excel(2007) workbook with 6 sheets. All contain data. Now i want to&amp;nbsp;replace that data in all the tabs with the data that i have in 6 datasets in SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help me with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 15:30:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-for-exporting-data-to-an-existing-excel-sheet/m-p/305121#M1919</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2016-10-17T15:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: DDE for exporting data to an existing excel sheet</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-for-exporting-data-to-an-existing-excel-sheet/m-p/305145#M1920</link>
      <description>&lt;P&gt;Why do you want to replace it? &amp;nbsp;If you have the data in SAS, then just export your data to Excel using proc export, ods tagsets.excelxp, libname excel etc. &amp;nbsp;If you need to keep it as Excel 2007 (and why?) then use proc export. &amp;nbsp;If it is a template Excel file that you need to update then that is very different. &amp;nbsp;Personally I would suggest exporting the data from SAS to CSV, then in your Excel file, write some VBA code to open those CSV files and populate the Excel file as needed. &amp;nbsp;The reason being is that Excel is unstructured/controlled, the data could be anywhere, in any format and if your forced to use that application, then use the functionality within that app to do the task, rather than try to mash it through another app.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 17:00:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-for-exporting-data-to-an-existing-excel-sheet/m-p/305145#M1920</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-10-17T17:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: DDE for exporting data to an existing excel sheet</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-for-exporting-data-to-an-existing-excel-sheet/m-p/305150#M1921</link>
      <description>It is a standard template actually. And I send that as a report every month&lt;BR /&gt;with updated data. First, I export the data from SAS EG and then copy paste&lt;BR /&gt;the data in each sheet in the template manually, so I just wanted to&lt;BR /&gt;automate it.&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Mon, 17 Oct 2016 17:15:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-for-exporting-data-to-an-existing-excel-sheet/m-p/305150#M1921</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2016-10-17T17:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: DDE for exporting data to an existing excel sheet</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-for-exporting-data-to-an-existing-excel-sheet/m-p/305166#M1922</link>
      <description>&lt;P&gt;Here's two references that may be helpful for you:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a macro based on VBScript that allows export to specific cells and/or an Excel Template&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.sascommunity.org/wiki/A_Poor/Rich_SAS_Users_Proc_Export" target="_blank"&gt;http://www.sascommunity.org/wiki/A_Poor/Rich_SAS_Users_Proc_Export&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's an Excel DDE sample code:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.ats.ucla.edu/stat/sas/faq/sas2excel_dde.htm" target="_blank"&gt;http://www.ats.ucla.edu/stat/sas/faq/sas2excel_dde.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 17:50:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-for-exporting-data-to-an-existing-excel-sheet/m-p/305166#M1922</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-17T17:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: DDE for exporting data to an existing excel sheet</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-for-exporting-data-to-an-existing-excel-sheet/m-p/305183#M1923</link>
      <description>&lt;P&gt;Yes, common thing this.&amp;nbsp; Look at what you do each time, is it exactly the same cells?&amp;nbsp; Excel is so loose that you might have to alter it each time anyway.&amp;nbsp; Now DDE does still work, for how long?&amp;nbsp; Its very old, and doesn't work on some setups.&amp;nbsp; Again, I would still go with my original suggestion.&amp;nbsp; Write some VBA, doesn't even have to be in that Excel file, a separate one which loads that file up, then loads the CSV data, then runs through some VBA code to put the data from the CSV where it should go, then save the file.&amp;nbsp; Its pretty simple.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 18:15:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-for-exporting-data-to-an-existing-excel-sheet/m-p/305183#M1923</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-10-17T18:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: DDE for exporting data to an existing excel sheet</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-for-exporting-data-to-an-existing-excel-sheet/m-p/305184#M1924</link>
      <description>&lt;P&gt;I'm using DDE on Office 2013 with SAS 9.4 so it's still working &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 18:17:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/DDE-for-exporting-data-to-an-existing-excel-sheet/m-p/305184#M1924</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-17T18:17:01Z</dc:date>
    </item>
  </channel>
</rss>

