<?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: How can I dump a SAS dataset in EG into an existing .xlsx workbook, located on Windows S: Drive? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-dump-a-SAS-dataset-in-EG-into-an-existing-xlsx/m-p/611458#M35265</link>
    <description>&lt;P&gt;OK, then read the Bloomberg data into SAS also and do your calculations there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may also be possible to pull the Bloomberg data directly with SAS if there is a public interface.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Dec 2019 22:11:42 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-12-12T22:11:42Z</dc:date>
    <item>
      <title>How can I dump a SAS dataset in EG into an existing .xlsx workbook, located on Windows S: Drive?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-dump-a-SAS-dataset-in-EG-into-an-existing-xlsx/m-p/611416#M35260</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm newer to SAS and basically I'm looking to automate some Excel tasks. The current process looks like this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Data team sends us a data extract via .xlsx (they auto-drop it into the same Google Drive shared folder everyday at a specific time)&lt;/LI&gt;&lt;LI&gt;We copy and paste the data from that .xlsx workbook to an "intermediary workbook", which contain various Excel formulae that perform further calculations on the data and structures it in the right way for SAP to easily ingest (next step).&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;We take the output of the intermediary workbook and paste it into the final macro-enabled workbook. This workbook has macros which create a .csv copy of the data we pasted in&amp;nbsp; initially and drop it to a specific filepath location on our Shared Network Drive, which SAP automatically ingests as an end of day process, which updates the respective data in SAP.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;What I would like to do is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Use SAS to ingest the initial .xlsx data file&lt;/LI&gt;&lt;LI&gt;Replace the "intermediary" workbook by replicating the Excel formulaic calculations in SAS&lt;/LI&gt;&lt;LI&gt;Replace the final macro-enabled workbook by pushing the .csv output file to a specific Windows S: Drive file location.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;My only challenge right now is that I'm essentially using SAS Enterprise Guide for a task that isn't a super common use-case. The intention however is to reduce human error that comes with copy/paste activities, as well as streamline the process into one comprehensive SAS program with an audit trail of what the program is doing each day rather than leave it up to a spreadsheet tool to do it. What are your guys thoughts as to how feasible this is and how would I get started at a high level to accomplish this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I figured would be a good first step is to simply grab the .xlsx file from Google Drive, then paste it into the existing "Intermediary Workbook" and then pick up the output and paste it into the "final macro workbook", basically replacing only the human steps. The next step after that would be to try to tackle the actual Excel workbooks themselves and see if we can replicate the functionality of that intermediary workbook.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 18:53:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-dump-a-SAS-dataset-in-EG-into-an-existing-xlsx/m-p/611416#M35260</guid>
      <dc:creator>atran2</dc:creator>
      <dc:date>2019-12-12T18:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can I dump a SAS dataset in EG into an existing .xlsx workbook, located on Windows S: Drive?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-dump-a-SAS-dataset-in-EG-into-an-existing-xlsx/m-p/611424#M35261</link>
      <description>&lt;P&gt;A better option would be to get your data team to provide a delimited file (CSV), read that into SAS and do all of your calculations in SAS not Excel then get SAS to update SAP via SAS/ACCESS to SAP (don't know if you have this). That way you can fully automate the process with no manual intervention.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would avoid Excel if at all possible plus manual interventions for data importation and processing as these are just recipes for things to go wrong. With Excel you cannot fully control how data is read.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 19:06:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-dump-a-SAS-dataset-in-EG-into-an-existing-xlsx/m-p/611424#M35261</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-12-12T19:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I dump a SAS dataset in EG into an existing .xlsx workbook, located on Windows S: Drive?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-dump-a-SAS-dataset-in-EG-into-an-existing-xlsx/m-p/611438#M35262</link>
      <description>&lt;UL&gt;
&lt;LI&gt;have the orginal data sent as csv&lt;/LI&gt;
&lt;LI&gt;do all calculations/transformations in SAS&lt;/LI&gt;
&lt;LI&gt;create the csv for SAP in SAS&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 20:25:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-dump-a-SAS-dataset-in-EG-into-an-existing-xlsx/m-p/611438#M35262</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-12T20:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I dump a SAS dataset in EG into an existing .xlsx workbook, located on Windows S: Drive?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-dump-a-SAS-dataset-in-EG-into-an-existing-xlsx/m-p/611452#M35264</link>
      <description>&lt;P&gt;Hey, I might be able to get the data as .csv but part of the challenge is there is some components of the process which rely on Bloomberg add-in for Excel, which we can't get that type of functionality elsewhere. As a result, the most "lean" we can get is a single Excel sheet with a bunch of cells pulling Bloomberg data and using that as an input for further calculation.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 21:37:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-dump-a-SAS-dataset-in-EG-into-an-existing-xlsx/m-p/611452#M35264</guid>
      <dc:creator>atran2</dc:creator>
      <dc:date>2019-12-12T21:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can I dump a SAS dataset in EG into an existing .xlsx workbook, located on Windows S: Drive?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-dump-a-SAS-dataset-in-EG-into-an-existing-xlsx/m-p/611458#M35265</link>
      <description>&lt;P&gt;OK, then read the Bloomberg data into SAS also and do your calculations there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may also be possible to pull the Bloomberg data directly with SAS if there is a public interface.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 22:11:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-dump-a-SAS-dataset-in-EG-into-an-existing-xlsx/m-p/611458#M35265</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-12-12T22:11:42Z</dc:date>
    </item>
  </channel>
</rss>

