<?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 Export to Excel corrupts formulae in Excel in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/SAS-Export-to-Excel-corrupts-formulae-in-Excel/m-p/529110#M5533</link>
    <description>Try using XLSX DBMS instead?</description>
    <pubDate>Tue, 22 Jan 2019 16:17:13 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-01-22T16:17:13Z</dc:date>
    <item>
      <title>SAS Export to Excel corrupts formulae in Excel</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Export-to-Excel-corrupts-formulae-in-Excel/m-p/529086#M5529</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been running a process for a few years now where I carry&amp;nbsp; out a load of data extraction and manipulation in SAS 9.4, which at the end of the process gets exported into an Excel file using&amp;nbsp;PROC export. The excel file then&amp;nbsp;manipulates and presents the data for the end user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The (intermitant) problem that I have, is that sometimes once the SAS code has finished (seemingly without any problems) when I go into the Excel workbook many of the formulae have been corrupted. What seems to be happening&amp;nbsp;is that the SAS export somehow&amp;nbsp;changes&amp;nbsp;some of the range names within formulas that I have on sheets where SAS shouldn't be touching anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC EXPORT DATA= dmi.Nb_summary&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;OUTFILE= &lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;" &amp;amp;path.&amp;amp;File_Name."&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DBMS=EXCEL LABEL REPLACE;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;SHEET=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;"NewBusData"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example - on one sheet before the SAS export runs - the formula in a cell may refer to a particular range name .e.g. =Topexp!A5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I run the SAS routine - reopen the excel and the same cell now says =Botexp!A5. It's driving me crazy. I can go around and fix it all, then it runs fine for a few days and then it goes wrong again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 15:38:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Export-to-Excel-corrupts-formulae-in-Excel/m-p/529086#M5529</guid>
      <dc:creator>Adam5</dc:creator>
      <dc:date>2019-01-22T15:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Export to Excel corrupts formulae in Excel</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Export-to-Excel-corrupts-formulae-in-Excel/m-p/529098#M5530</link>
      <description>&lt;P&gt;Have you checked if any hotfix related to proc export and excel is available for your installation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 15:51:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Export-to-Excel-corrupts-formulae-in-Excel/m-p/529098#M5530</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-01-22T15:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Export to Excel corrupts formulae in Excel</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Export-to-Excel-corrupts-formulae-in-Excel/m-p/529110#M5533</link>
      <description>Try using XLSX DBMS instead?</description>
      <pubDate>Tue, 22 Jan 2019 16:17:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Export-to-Excel-corrupts-formulae-in-Excel/m-p/529110#M5533</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-22T16:17:13Z</dc:date>
    </item>
  </channel>
</rss>

