<?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 How to easily import when excel workbook changes in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-easily-import-when-excel-workbook-changes/m-p/464208#M29973</link>
    <description>In my workspace,  i have a shortcut to an excel workbook with multiple sheets. If i right click &amp;gt; import, im able to export my worksheets out.  However,  if i ever need to change workbooks that ends up having a different number of columns, i need to ‘modify import’ in order to make sure all the appropriate columns are accounted for.&lt;BR /&gt;&lt;BR /&gt;Im working with many different sheets that may or may not have differring columns.  Is there a way to run the process flow where it will always just re-import?</description>
    <pubDate>Tue, 22 May 2018 21:37:26 GMT</pubDate>
    <dc:creator>mrdlau</dc:creator>
    <dc:date>2018-05-22T21:37:26Z</dc:date>
    <item>
      <title>How to easily import when excel workbook changes</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-easily-import-when-excel-workbook-changes/m-p/464208#M29973</link>
      <description>In my workspace,  i have a shortcut to an excel workbook with multiple sheets. If i right click &amp;gt; import, im able to export my worksheets out.  However,  if i ever need to change workbooks that ends up having a different number of columns, i need to ‘modify import’ in order to make sure all the appropriate columns are accounted for.&lt;BR /&gt;&lt;BR /&gt;Im working with many different sheets that may or may not have differring columns.  Is there a way to run the process flow where it will always just re-import?</description>
      <pubDate>Tue, 22 May 2018 21:37:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-easily-import-when-excel-workbook-changes/m-p/464208#M29973</guid>
      <dc:creator>mrdlau</dc:creator>
      <dc:date>2018-05-22T21:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to easily import when excel workbook changes</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-easily-import-when-excel-workbook-changes/m-p/468110#M30369</link>
      <description>&lt;P&gt;This is what I do:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROC IMPORT OUT= outdataset &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;DATAFILE= "&amp;amp;pathfile" &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS=&amp;amp;ext REPLACE;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;SHEET="&amp;amp;sheet"; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;GETNAMES=no;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;amp;ext would be xls or xlsx.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will bring in all the columns (as text) that have data and name them A, B, C, D,...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can then rename and convert them as you please.&amp;nbsp; You can even use the names in the 1st row, if that's where they are.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's an example of how to convert Excel date into SAS date:&lt;/P&gt;
&lt;P&gt;input(Date_Received,best10.)-21916 as Received_Dt format date9.,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And a currency amount:&lt;/P&gt;
&lt;P&gt;input(Provider_Billed_Amount,dollar12.2) as Provider_Billed_Amt format dollar12.2,&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2018 15:50:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-easily-import-when-excel-workbook-changes/m-p/468110#M30369</guid>
      <dc:creator>tomrvincent</dc:creator>
      <dc:date>2018-06-06T15:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to easily import when excel workbook changes</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-easily-import-when-excel-workbook-changes/m-p/469498#M30451</link>
      <description>&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;when I do this, I get a 'physical file not found'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;does the path need to be in a specific format? I read that if I'm running SAS on a virtual machine, it has to be done differently?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 03:21:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-easily-import-when-excel-workbook-changes/m-p/469498#M30451</guid>
      <dc:creator>mrdlau</dc:creator>
      <dc:date>2018-06-12T03:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to easily import when excel workbook changes</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-easily-import-when-excel-workbook-changes/m-p/469531#M30456</link>
      <description>&lt;P&gt;I depends where your SAS code is running. Does your Enterprise Guide connect to a remote SAS server or a local one? In either case the folder the spreadsheet is stored in must be readable by your SAS server.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 07:54:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-easily-import-when-excel-workbook-changes/m-p/469531#M30456</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-06-12T07:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to easily import when excel workbook changes</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-easily-import-when-excel-workbook-changes/m-p/469899#M30480</link>
      <description>&amp;amp;path has to refer to the path and file you're importing.  The format depends on your OS.</description>
      <pubDate>Wed, 13 Jun 2018 12:09:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-easily-import-when-excel-workbook-changes/m-p/469899#M30480</guid>
      <dc:creator>tomrvincent</dc:creator>
      <dc:date>2018-06-13T12:09:12Z</dc:date>
    </item>
  </channel>
</rss>

