<?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: In Excel using SAS dataset, how can I update the SAS dataset location? in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/In-Excel-using-SAS-dataset-how-can-I-update-the-SAS-dataset/m-p/288711#M1888</link>
    <description>&lt;P&gt;I am not really sure I understand your problem but it may be that you only need to change the Library definition to point to a different location.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Suppose you have the data set ThisJob in library Here that the Excel is referencing and that library Here is pointing to "C:\thisfolder\folderA";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To use a different dataset ThisJob located in "C:\thisfolder\FolderB" then use something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Library Here "C:\thisfolder\FolderB";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;later references to Here.ThisJob would use the one the FolderB.&lt;/P&gt;
&lt;P&gt;However, for this to work you might need to close down Excel, or at least&amp;nbsp;the connection to that dataset,&amp;nbsp;and restart to accept the new dataset definition when it connects to SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2016 20:08:11 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-08-01T20:08:11Z</dc:date>
    <item>
      <title>In Excel using SAS dataset, how can I update the SAS dataset location?</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/In-Excel-using-SAS-dataset-how-can-I-update-the-SAS-dataset/m-p/288446#M1887</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I havent been able to find an answer but also not sure exactly what to search for.&lt;/P&gt;
&lt;P&gt;We are using SAS addin 7.1 for excel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a dataset I am using but I want to change the library of where this dataset is, is there a way within excel to replace the current dataset with the new dataset (which is the same format just different library location)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would prefer to not have to bring in a new dataset table as I will need to remap a huge number of formulas that reference that dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 03:29:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/In-Excel-using-SAS-dataset-how-can-I-update-the-SAS-dataset/m-p/288446#M1887</guid>
      <dc:creator>popples123</dc:creator>
      <dc:date>2016-08-01T03:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: In Excel using SAS dataset, how can I update the SAS dataset location?</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/In-Excel-using-SAS-dataset-how-can-I-update-the-SAS-dataset/m-p/288711#M1888</link>
      <description>&lt;P&gt;I am not really sure I understand your problem but it may be that you only need to change the Library definition to point to a different location.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Suppose you have the data set ThisJob in library Here that the Excel is referencing and that library Here is pointing to "C:\thisfolder\folderA";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To use a different dataset ThisJob located in "C:\thisfolder\FolderB" then use something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Library Here "C:\thisfolder\FolderB";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;later references to Here.ThisJob would use the one the FolderB.&lt;/P&gt;
&lt;P&gt;However, for this to work you might need to close down Excel, or at least&amp;nbsp;the connection to that dataset,&amp;nbsp;and restart to accept the new dataset definition when it connects to SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 20:08:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/In-Excel-using-SAS-dataset-how-can-I-update-the-SAS-dataset/m-p/288711#M1888</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-08-01T20:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: In Excel using SAS dataset, how can I update the SAS dataset location?</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/In-Excel-using-SAS-dataset-how-can-I-update-the-SAS-dataset/m-p/301869#M1901</link>
      <description>&lt;P&gt;In case you can't just change the library definition (=same libref but another path) but you actually need to change the name of the libref in your specific document:&lt;/P&gt;
&lt;P&gt;I haven't found a menu item in AMO which allows you to do this BUT you can do it using the migration wizard (worked for me).&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/bidaag/69541/HTML/default/viewer.htm#n0oy93cwp7oc51n14p509zbjjzdz.htm&amp;nbsp;" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/bidaag/69541/HTML/default/viewer.htm#n0oy93cwp7oc51n14p509zbjjzdz.htm&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On my laptop this wizard can be found under:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:\Program Files (x86)\SASHome\x86\SASAddinforMicrosoftOffice\7.1\MigrationWizard.exe and changing the library was a simple point &amp;amp; click operation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another hack option which also worked for me with Excel 2013 (you want to try this on a copy of your Excel):&lt;/P&gt;
&lt;P&gt;You can open a .xlsx with an archiving tool like WinZip or 7-Zip and then modify the path directly in the XML. There is a risk that you corrupt the .xlsx - but it worked for my with my sample file and changing the libref from "sashelp" to "sasuser"&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/5110i1A7C87F2D3B81E7B/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2016 03:57:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/In-Excel-using-SAS-dataset-how-can-I-update-the-SAS-dataset/m-p/301869#M1901</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2016-10-01T03:57:49Z</dc:date>
    </item>
  </channel>
</rss>

