<?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: Multiple sheet names in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Multiple-sheet-names/m-p/872087#M344527</link>
    <description>If there is only one sheet in each excel file, you can using proc import without "sheet=" option.</description>
    <pubDate>Wed, 26 Apr 2023 02:26:51 GMT</pubDate>
    <dc:creator>whymath</dc:creator>
    <dc:date>2023-04-26T02:26:51Z</dc:date>
    <item>
      <title>Multiple sheet names</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-sheet-names/m-p/872084#M344525</link>
      <description>I have multiple excel (xls or XLSX) files. I would like to import into sas but the sheet names are “upcoming” or sometimes “upcomings” -added s or not. How can I read into without checking the exact sheet name? Such is SHEET=upcoming* would not work. &lt;BR /&gt;Thank you.</description>
      <pubDate>Wed, 26 Apr 2023 01:29:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-sheet-names/m-p/872084#M344525</guid>
      <dc:creator>Emma2021</dc:creator>
      <dc:date>2023-04-26T01:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple sheet names</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-sheet-names/m-p/872087#M344527</link>
      <description>If there is only one sheet in each excel file, you can using proc import without "sheet=" option.</description>
      <pubDate>Wed, 26 Apr 2023 02:26:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-sheet-names/m-p/872087#M344527</guid>
      <dc:creator>whymath</dc:creator>
      <dc:date>2023-04-26T02:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple sheet names</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-sheet-names/m-p/872090#M344530</link>
      <description>Each excel file has multiple sheets but I wanted only start with upcoming*&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Wed, 26 Apr 2023 02:34:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-sheet-names/m-p/872090#M344530</guid>
      <dc:creator>Emma2021</dc:creator>
      <dc:date>2023-04-26T02:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple sheet names</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-sheet-names/m-p/872092#M344531</link>
      <description>&lt;P&gt;For XLSX files you can just read the actual XML file that is inside the file to find the sheet names.&lt;/P&gt;
&lt;P&gt;For example to find the sheets in the xlsx file named book1.xlsx in the directory c:\downloads I could run this program.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data worksheets;
  infile "c:\downloads\book1.xlsx" zip member='xl/workbook.xml' recfm=n dsd dlm=' ';
  sheet_number+1;
  input @'&amp;lt;sheet name=' sheet_name :$32. @@;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;No idea how you would do it with XLS files (why do you still have XLS files anyway?).&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 02:48:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-sheet-names/m-p/872092#M344531</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-04-26T02:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple sheet names</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-sheet-names/m-p/872252#M344603</link>
      <description>&lt;P&gt;If you have SAS/ACCESS then&amp;nbsp; Libname xlsx engine will allow to read all sheets without checking sheet names. Refer to the documentation&amp;nbsp;&lt;A href="https://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/" target="_self"&gt;https://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 14:11:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-sheet-names/m-p/872252#M344603</guid>
      <dc:creator>A_Kh</dc:creator>
      <dc:date>2023-04-26T14:11:41Z</dc:date>
    </item>
  </channel>
</rss>

