<?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 Scripting:  open all sheets from an Excel file in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Scripting-open-all-sheets-from-an-Excel-file/m-p/552088#M76767</link>
    <description>&lt;P&gt;What is the syntax to open all sheets from an excel file without naming all the sheets?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the script log I got after clicking "Select all" in Excel Wizard. The specific excel file had 2 sheets name "Sheet1" and "Sheet2".&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Worksheets( {"Sheet1", "Sheet2"} ),&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I could not find help from Scripting Index either&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open( excelFilePath,
     &amp;lt;Worksheets( "sheet name" | {"sheet name", "sheet name", ...} | "n" )&amp;gt;,&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 15:59:36 GMT</pubDate>
    <dc:creator>GroupSquareWolf</dc:creator>
    <dc:date>2023-06-09T15:59:36Z</dc:date>
    <item>
      <title>Scripting:  open all sheets from an Excel file</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-open-all-sheets-from-an-Excel-file/m-p/552088#M76767</link>
      <description>&lt;P&gt;What is the syntax to open all sheets from an excel file without naming all the sheets?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the script log I got after clicking "Select all" in Excel Wizard. The specific excel file had 2 sheets name "Sheet1" and "Sheet2".&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Worksheets( {"Sheet1", "Sheet2"} ),&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I could not find help from Scripting Index either&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open( excelFilePath,
     &amp;lt;Worksheets( "sheet name" | {"sheet name", "sheet name", ...} | "n" )&amp;gt;,&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 15:59:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-open-all-sheets-from-an-Excel-file/m-p/552088#M76767</guid>
      <dc:creator>GroupSquareWolf</dc:creator>
      <dc:date>2023-06-09T15:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting:  open all sheets from an Excel file</title>
      <link>https://community.jmp.com/t5/Discussions/Scripting-open-all-sheets-from-an-Excel-file/m-p/552125#M76770</link>
      <description>&lt;P&gt;This simple syntax should work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "Path\Workbook Name.xlsx" );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The variable &lt;STRONG&gt;dt&lt;/STRONG&gt; will store a list of data table references when there is more than one sheet.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 17:50:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Scripting-open-all-sheets-from-an-Excel-file/m-p/552125#M76770</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-10-03T17:50:10Z</dc:date>
    </item>
  </channel>
</rss>

