<?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 Direct Read of open Excel-Sheet within Add-In for Microsoft Office (Office Analytics) in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Direct-Read-of-open-Excel-Sheet-within-Add-In-for-Microsoft/m-p/430797#M2186</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;How can I easily read an open Excel-sheet out of the SAS-Program-window of the Excel-SAS Addin? Is there any Statement which I can use instead of "Active Excel Sheet" that works (see attached Screenshot). I know I could save the Excel-sheet, attach it with a library (libname XXX Excel "...") and then read it.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;But is there any way to do it without saving the sheet (like the predefined statistic routines do it in the Addin).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Thnaks&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Karl&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2018 07:51:15 GMT</pubDate>
    <dc:creator>Karlb</dc:creator>
    <dc:date>2018-01-25T07:51:15Z</dc:date>
    <item>
      <title>Direct Read of open Excel-Sheet within Add-In for Microsoft Office (Office Analytics)</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Direct-Read-of-open-Excel-Sheet-within-Add-In-for-Microsoft/m-p/430797#M2186</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;How can I easily read an open Excel-sheet out of the SAS-Program-window of the Excel-SAS Addin? Is there any Statement which I can use instead of "Active Excel Sheet" that works (see attached Screenshot). I know I could save the Excel-sheet, attach it with a library (libname XXX Excel "...") and then read it.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;But is there any way to do it without saving the sheet (like the predefined statistic routines do it in the Addin).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Thnaks&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Karl&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 07:51:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Direct-Read-of-open-Excel-Sheet-within-Add-In-for-Microsoft/m-p/430797#M2186</guid>
      <dc:creator>Karlb</dc:creator>
      <dc:date>2018-01-25T07:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Read of open Excel-Sheet within Add-In for Microsoft Office (Office Analytics)</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Direct-Read-of-open-Excel-Sheet-within-Add-In-for-Microsoft/m-p/430847#M2187</link>
      <description>&lt;P&gt;Not really, it would involve a fair bit of work to get the various plugins talking to each other and returning results.&amp;nbsp; Is importing the file too dificult?&amp;nbsp; If so its unlikely your going to find a simpler solution.&amp;nbsp; One thing I can suggest is that with (assumes you have SAS 9.4) libname excel and and xlsx file then you can set a libname to a file, thats a bit simpler, e.g.:&lt;/P&gt;
&lt;PRE&gt;libname xl xlsx "&amp;lt;pathtoyourfile&amp;gt;/&amp;lt;yourfile&amp;gt;.xlsx";

data want;
  set xl.sheet1;
run;

libname xl clear;&lt;/PRE&gt;
&lt;P&gt;The libname will show all the usable tabs in the workbook (if you goto library explorer you can actually see them).&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 10:34:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Direct-Read-of-open-Excel-Sheet-within-Add-In-for-Microsoft/m-p/430847#M2187</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-01-25T10:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Read of open Excel-Sheet within Add-In for Microsoft Office (Office Analytics)</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Direct-Read-of-open-Excel-Sheet-within-Add-In-for-Microsoft/m-p/431017#M2188</link>
      <description>&lt;P&gt;Thank you RW9 &amp;nbsp;for your answere!&amp;nbsp;&lt;/P&gt;&lt;P&gt;No saving and importing is not really an issue.&lt;/P&gt;&lt;P&gt;Sincerly Karl&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 17:36:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/Direct-Read-of-open-Excel-Sheet-within-Add-In-for-Microsoft/m-p/431017#M2188</guid>
      <dc:creator>Karlb</dc:creator>
      <dc:date>2018-01-25T17:36:20Z</dc:date>
    </item>
  </channel>
</rss>

