<?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: Jsl error when reading excel file that is open by excel ::  There was an error opening the file. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Jsl-error-when-reading-excel-file-that-is-open-by-excel-There/m-p/473759#M71846</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/17409"&gt;@joshua&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could copy the file to a temporary location and open it from there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here(1);

fn = "$Sample_Import_Data/Bigclass.xlsx";
tfn = "$TEMP/tempfile.xlsx";&lt;BR /&gt;
copy file(fn, tfn);

Open(
	tfn,
	Worksheets( "Bigclass" ),
	Use for all sheets( 1 ),
	Concatenate Worksheets( 0 ),
	Create Concatenation Column( 0 ),
	Worksheet Settings(
		1,
		Has Column Headers( 1 ),
		Number of Rows in Headers( 1 ),
		Headers Start on Row( 1 ),
		Data Starts on Row( 2 ),
		Data Starts on Column( 1 ),
		Data Ends on Row( 0 ),
		Data Ends on Column( 0 ),
		Replicated Spanned Rows( 1 ),
		Replicated Spanned Headers( 0 ),
		Suppress Hidden Rows( 1 ),
		Suppress Hidden Columns( 1 ),
		Suppress Empty Columns( 1 ),
		Treat as Hierarchy( 0 ),
		Multiple Series Stack( 0 ),
		Import Cell Colors( 0 ),
		Limit Column Detect( 0 ),
		Column Separator String( "-" )
	)
);

delete file(tfn);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 28 Mar 2022 13:36:02 GMT</pubDate>
    <dc:creator>ih</dc:creator>
    <dc:date>2022-03-28T13:36:02Z</dc:date>
    <item>
      <title>Jsl error when reading excel file that is open by excel ::  There was an error opening the file.</title>
      <link>https://community.jmp.com/t5/Discussions/Jsl-error-when-reading-excel-file-that-is-open-by-excel-There/m-p/472882#M71751</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering any work around this. The case is I have my windows and excel file is open that I edit and save. Meanwhile, I try to open that excel file with jsl for further data processing (the *.xlsx still open with Excel while I'm doing this.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to open that file I get this error&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "There was an error opening the file."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any work around this ? This excel file is shared excel file so it's most likely would be open by another user and another computer so I hope jsl has solution to work around this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am using JMP 14.0.3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 18:14:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Jsl-error-when-reading-excel-file-that-is-open-by-excel-There/m-p/472882#M71751</guid>
      <dc:creator>joshua</dc:creator>
      <dc:date>2023-06-09T18:14:15Z</dc:date>
    </item>
    <item>
      <title>回复： Jsl error when reading excel file that is open by excel ::  There was an error opening the file.</title>
      <link>https://community.jmp.com/t5/Discussions/Jsl-error-when-reading-excel-file-that-is-open-by-excel-There/m-p/472963#M71756</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open(
	"D:\ATS\frankwang\Desktop\Test.xlsx", // Here is file path
	Worksheets( "Sheet1" ), // Worksheets Name
	Use for all sheets( 1 ), // Check seting use for all sheets or not (1 -&amp;gt; Y, 0 -&amp;gt; N)
	Concatenate Worksheets( 0 ), // Check need concatenate work sheets or not
	Create Concatenation Column( 0 ), // if you want to concate, this will be set
	&lt;BR /&gt;//Below setting about Data Table of sheet. Such as Column Header, Number of rows in hearder and so on&lt;BR /&gt;    Worksheet Settings(
		1,
		Has Column Headers( 1 ),
		Number of Rows in Headers( 1 ),
		Headers Start on Row( 1 ),
		Data Starts on Row( 2 ),
		Data Starts on Column( 1 ),
		Data Ends on Row( 0 ),
		Data Ends on Column( 0 ),
		Replicated Spanned Rows( 1 ),
		Replicated Spanned Headers( 0 ),
		Suppress Hidden Rows( 1 ),
		Suppress Hidden Columns( 1 ),
		Suppress Empty Columns( 1 ),
		Treat as Hierarchy( 0 ),
		Multiple Series Stack( 0 ),
		Import Cell Colors( 0 ),
		Limit Column Detect( 0 ),
		Column Separator String( "-" )
	)
)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;For detail, can check in Index Script and search 'Open'&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 03:13:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Jsl-error-when-reading-excel-file-that-is-open-by-excel-There/m-p/472963#M71756</guid>
      <dc:creator>frank_wang</dc:creator>
      <dc:date>2022-03-25T03:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Jsl error when reading excel file that is open by excel ::  There was an error opening the file.</title>
      <link>https://community.jmp.com/t5/Discussions/Jsl-error-when-reading-excel-file-that-is-open-by-excel-There/m-p/473759#M71846</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/17409"&gt;@joshua&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could copy the file to a temporary location and open it from there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names default to here(1);

fn = "$Sample_Import_Data/Bigclass.xlsx";
tfn = "$TEMP/tempfile.xlsx";&lt;BR /&gt;
copy file(fn, tfn);

Open(
	tfn,
	Worksheets( "Bigclass" ),
	Use for all sheets( 1 ),
	Concatenate Worksheets( 0 ),
	Create Concatenation Column( 0 ),
	Worksheet Settings(
		1,
		Has Column Headers( 1 ),
		Number of Rows in Headers( 1 ),
		Headers Start on Row( 1 ),
		Data Starts on Row( 2 ),
		Data Starts on Column( 1 ),
		Data Ends on Row( 0 ),
		Data Ends on Column( 0 ),
		Replicated Spanned Rows( 1 ),
		Replicated Spanned Headers( 0 ),
		Suppress Hidden Rows( 1 ),
		Suppress Hidden Columns( 1 ),
		Suppress Empty Columns( 1 ),
		Treat as Hierarchy( 0 ),
		Multiple Series Stack( 0 ),
		Import Cell Colors( 0 ),
		Limit Column Detect( 0 ),
		Column Separator String( "-" )
	)
);

delete file(tfn);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Mar 2022 13:36:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Jsl-error-when-reading-excel-file-that-is-open-by-excel-There/m-p/473759#M71846</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2022-03-28T13:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Jsl error when reading excel file that is open by excel ::  There was an error opening the file.</title>
      <link>https://community.jmp.com/t5/Discussions/Jsl-error-when-reading-excel-file-that-is-open-by-excel-There/m-p/665940#M85419</link>
      <description>&lt;P&gt;Is there an option to check if the file is opened in Excel ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an option to load the Excel file in a way in Jmp such that it's OK that the file is opened in Excel - e.g. with read only flag?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Aug 2023 12:00:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Jsl-error-when-reading-excel-file-that-is-open-by-excel-There/m-p/665940#M85419</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-08-06T12:00:27Z</dc:date>
    </item>
  </channel>
</rss>

