<?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 Importing an Excel Worksheet using JMP on MAC in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Importing-an-Excel-Worksheet-using-JMP-on-MAC/m-p/109663#M39653</link>
    <description>&lt;P&gt;So maybe I'm just tired on a Friday afternoon, but I'm seeing a strange problem when scripting the Open function using JMP (14.2) on MAC.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a simple script that does what you would expect - it creates a JMP table containing the contents of the sheet1 of the test spreadsheet.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open(
    "/Users/docs/test.xlsx",
     Worksheets( "sheet1" )
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But when I call it from a class method it launches the Excel wizard.&amp;nbsp; I've simplified the problem by just popping the code onto a button and I still have the same problem i.e. the following code renders a window - when I click on the button it launches the Excel wizard.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	New Window("Test",
		ButtonBox("import",
			Open(
				"/Users/docs/test.xlsx",
				Worksheets( "sheet1" )
			)
		)
	)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For the sake of brevity I am not showing all the optional fields associated with the Open function - but even if I import the data manually then use the full source script as the basis of the import, the same problem happens.&amp;nbsp; On Windows there's no problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It doesn't seem to be related to preference settings.&amp;nbsp; Any ideas?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Feb 2019 17:22:05 GMT</pubDate>
    <dc:creator>David_Burnham</dc:creator>
    <dc:date>2019-02-08T17:22:05Z</dc:date>
    <item>
      <title>Importing an Excel Worksheet using JMP on MAC</title>
      <link>https://community.jmp.com/t5/Discussions/Importing-an-Excel-Worksheet-using-JMP-on-MAC/m-p/109663#M39653</link>
      <description>&lt;P&gt;So maybe I'm just tired on a Friday afternoon, but I'm seeing a strange problem when scripting the Open function using JMP (14.2) on MAC.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a simple script that does what you would expect - it creates a JMP table containing the contents of the sheet1 of the test spreadsheet.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open(
    "/Users/docs/test.xlsx",
     Worksheets( "sheet1" )
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But when I call it from a class method it launches the Excel wizard.&amp;nbsp; I've simplified the problem by just popping the code onto a button and I still have the same problem i.e. the following code renders a window - when I click on the button it launches the Excel wizard.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	New Window("Test",
		ButtonBox("import",
			Open(
				"/Users/docs/test.xlsx",
				Worksheets( "sheet1" )
			)
		)
	)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For the sake of brevity I am not showing all the optional fields associated with the Open function - but even if I import the data manually then use the full source script as the basis of the import, the same problem happens.&amp;nbsp; On Windows there's no problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It doesn't seem to be related to preference settings.&amp;nbsp; Any ideas?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 17:22:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Importing-an-Excel-Worksheet-using-JMP-on-MAC/m-p/109663#M39653</guid>
      <dc:creator>David_Burnham</dc:creator>
      <dc:date>2019-02-08T17:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Importing an Excel Worksheet using JMP on MAC</title>
      <link>https://community.jmp.com/t5/Discussions/Importing-an-Excel-Worksheet-using-JMP-on-MAC/m-p/109699#M39675</link>
      <description>&lt;P&gt;I can confirm I see the same thing in JMP 13.2 and 14.2 on Mac (OS X 10.11.6). Really strange.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Possible workaround: I have no idea why, but pressing the button&amp;nbsp;does not launch the Excel Wisard if the&amp;nbsp;&lt;EM&gt;Open()&lt;/EM&gt; function is&amp;nbsp;run via &lt;EM&gt;Include()&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Save Text File(
    "/Users/ms/Desktop/test6.jsl",
    "Open(\!"/Users/ms/Desktop/test.xlsx\!", Worksheets( \!"Sheet1\!" ))"
);
						
New Window("Test", Button Box("import", Include("/Users/ms/Desktop/test6.jsl")));
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 13:46:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Importing-an-Excel-Worksheet-using-JMP-on-MAC/m-p/109699#M39675</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2019-02-09T13:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Importing an Excel Worksheet using JMP on MAC</title>
      <link>https://community.jmp.com/t5/Discussions/Importing-an-Excel-Worksheet-using-JMP-on-MAC/m-p/109732#M39676</link>
      <description>&lt;P&gt;Thanks - I appreciate the confirmation.&amp;nbsp; I'll take a look to see whether I can implement a workaround based on using an include file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Feb 2019 19:03:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Importing-an-Excel-Worksheet-using-JMP-on-MAC/m-p/109732#M39676</guid>
      <dc:creator>David_Burnham</dc:creator>
      <dc:date>2019-02-09T19:03:50Z</dc:date>
    </item>
  </channel>
</rss>

