<?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: Not getting updated data while importing formula based EXCEL SHEET in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Not-getting-updated-data-while-importing-formula-based-EXCEL/m-p/535134#M146914</link>
    <description>&lt;P&gt;When SAS exports data it does not call Excel functionality like refresh rest of workspace.&amp;nbsp; Add a simple OnLoad VBA macro to your Excel file so that when it loads it refreshes the workspace:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/office/vba/api/excel.workbook.refreshall" target="_blank"&gt;https://docs.microsoft.com/en-us/office/vba/api/excel.workbook.refreshall&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Feb 2019 10:04:44 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2019-02-13T10:04:44Z</dc:date>
    <item>
      <title>Not getting updated data while importing formula based EXCEL SHEET</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Not-getting-updated-data-while-importing-formula-based-EXCEL/m-p/535131#M146912</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing one issue, I have one excel file with 2 sheets(tabs) in that , I am exporting data in first sheet and second sheet have formulas which is linked to first sheet. Now when i tried to import data from second sheet at that time i am not getting updated data, but when i attached that EXCEL file in mail it is giving correct updated data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you someone please help me to get this resolve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried one shortcut:-&amp;nbsp; after exporting data in firstsheet, i manually open excel go to second sheet and then data-refresh all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;afetr that when i tried i am getting updated data, but this is not good for my code, i can not do refresh every time .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Ashwani Gupta&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 09:58:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Not-getting-updated-data-while-importing-formula-based-EXCEL/m-p/535131#M146912</guid>
      <dc:creator>AshwaniGupta</dc:creator>
      <dc:date>2019-02-13T09:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting updated data while importing formula based EXCEL SHEET</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Not-getting-updated-data-while-importing-formula-based-EXCEL/m-p/535134#M146914</link>
      <description>&lt;P&gt;When SAS exports data it does not call Excel functionality like refresh rest of workspace.&amp;nbsp; Add a simple OnLoad VBA macro to your Excel file so that when it loads it refreshes the workspace:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/office/vba/api/excel.workbook.refreshall" target="_blank"&gt;https://docs.microsoft.com/en-us/office/vba/api/excel.workbook.refreshall&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 10:04:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Not-getting-updated-data-while-importing-formula-based-EXCEL/m-p/535134#M146914</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2019-02-13T10:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting updated data while importing formula based EXCEL SHEET</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Not-getting-updated-data-while-importing-formula-based-EXCEL/m-p/535135#M146915</link>
      <description>&lt;P&gt;Updating cells that contain a formula is always done dynamically while a workbook is &lt;EM&gt;loaded in Excel&lt;/EM&gt;. The workbook &lt;EM&gt;file&lt;/EM&gt; itself is a dead, inert object, and only the things you explicitly do to it (like loading data to a spreadsheet) will happen.&lt;/P&gt;
&lt;P&gt;If you want logic to happen while only SAS is active, you need to do all of it in SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my opinion, this kind of split processing is just a disaster waiting to happen. Move all the logic into SAS. Formulas or VBA code in Excel make sense only when no better tool is available. But you &lt;EM&gt;do&lt;/EM&gt; have SAS, so make use of it.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 10:06:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Not-getting-updated-data-while-importing-formula-based-EXCEL/m-p/535135#M146915</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-02-13T10:06:35Z</dc:date>
    </item>
  </channel>
</rss>

