<?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: help reading an excel file with multiple sheets in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/help-reading-an-excel-file-with-multiple-sheets/m-p/896317#M11110</link>
    <description>&lt;P&gt;I doubt that the 2021 sheet is in the 2018 workbook.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2023 18:54:34 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2023-09-28T18:54:34Z</dc:date>
    <item>
      <title>help reading an excel file with multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Studio/help-reading-an-excel-file-with-multiple-sheets/m-p/896185#M11106</link>
      <description>&lt;DIV&gt;I tried two ways.&amp;nbsp; Using proc import, I can get one sheet if I leave off the sheet=, but with sheet=&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I get&amp;nbsp;&lt;SPAN&gt;ERROR: Couldn't find sheet in spreadsheet.&amp;nbsp; So, I don't know how to figure out what SAS thinks the sheet names are.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;options validvarname=v7;&lt;/DIV&gt;
&lt;DIV&gt;FILENAME REFFILE FILESRVC FOLDERPATH='/Users/xxxxxxx'&amp;nbsp; FILENAME='2018_National_Awardees.xlsx';&lt;/DIV&gt;
&lt;DIV&gt;PROC IMPORT DATAFILE=REFFILE&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; DBMS=XLSX&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; OUT=WORK.Awardees_2018;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; sheet='2021&amp;nbsp; Age and Race-Ethnicity';&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; GETNAMES=YES;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;RUN;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Second, I tried this:&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;libname test XLSX "/Users/xxxxxxx/2018_National_Awardees.xlsx";&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;And I get&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;WARNING: No matching members in directory.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Sep 2023 04:41:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/help-reading-an-excel-file-with-multiple-sheets/m-p/896185#M11106</guid>
      <dc:creator>telligent</dc:creator>
      <dc:date>2023-09-28T04:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: help reading an excel file with multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Studio/help-reading-an-excel-file-with-multiple-sheets/m-p/896186#M11107</link>
      <description>&lt;P&gt;/Users at the start of your path lets me suspect MacOS. SAS does not run on this system.&lt;/P&gt;
&lt;P&gt;If you use a Mac with SAS Studio, you have to upload the file first and use the path on the SAS server.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 06:03:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/help-reading-an-excel-file-with-multiple-sheets/m-p/896186#M11107</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-09-28T06:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: help reading an excel file with multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Studio/help-reading-an-excel-file-with-multiple-sheets/m-p/896293#M11108</link>
      <description>&lt;P&gt;The files have been uploaded to SAS studio.&amp;nbsp; I am still having trouble reading them.&amp;nbsp; And I am on a Windows 11 machine but working in Viya in the cloud.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 17:31:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/help-reading-an-excel-file-with-multiple-sheets/m-p/896293#M11108</guid>
      <dc:creator>telligent</dc:creator>
      <dc:date>2023-09-28T17:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: help reading an excel file with multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Studio/help-reading-an-excel-file-with-multiple-sheets/m-p/896309#M11109</link>
      <description>&lt;P&gt;Make sure that you use exact spelling for file and path names. Are you sure (e.g.) it is "Users" and not "users"?&lt;/P&gt;
&lt;P&gt;UNIX (and therefore Linux) is case sensitive.&lt;/P&gt;
&lt;P&gt;Right-click on the file in the SAS Studio navigation window and copy the path from there.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 18:15:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/help-reading-an-excel-file-with-multiple-sheets/m-p/896309#M11109</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-09-28T18:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: help reading an excel file with multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Studio/help-reading-an-excel-file-with-multiple-sheets/m-p/896317#M11110</link>
      <description>&lt;P&gt;I doubt that the 2021 sheet is in the 2018 workbook.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 18:54:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/help-reading-an-excel-file-with-multiple-sheets/m-p/896317#M11110</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-09-28T18:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: help reading an excel file with multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Studio/help-reading-an-excel-file-with-multiple-sheets/m-p/896353#M11111</link>
      <description>Thank you.  That fixed the proc import.  The libname method is still not working, so I won't accept solution immediately.  I will if I don't get any input on that.</description>
      <pubDate>Thu, 28 Sep 2023 22:15:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/help-reading-an-excel-file-with-multiple-sheets/m-p/896353#M11111</guid>
      <dc:creator>telligent</dc:creator>
      <dc:date>2023-09-28T22:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: help reading an excel file with multiple sheets</title>
      <link>https://communities.sas.com/t5/SAS-Studio/help-reading-an-excel-file-with-multiple-sheets/m-p/896370#M11112</link>
      <description>&lt;P&gt;When the FILENAME pointing to the &lt;EM&gt;file service&lt;/EM&gt; works, then I doubt that you can create a LIBNAME, as you need a physical path in the operating system's file system for that, which the Viya file service does not provide.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 05:16:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/help-reading-an-excel-file-with-multiple-sheets/m-p/896370#M11112</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-09-29T05:16:54Z</dc:date>
    </item>
  </channel>
</rss>

