<?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: Beginner : Help with opening single worksheet and worksheet setting in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Beginner-Help-with-opening-single-worksheet-and-worksheet/m-p/429493#M67899</link>
    <description>&lt;P&gt;Use a Pick File() function to select the file to open, and then take the results of the Pick File and reference it in the Open() function.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;theFile = Pick File(....);
Open( theFile,
other loading options);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 23 Oct 2021 01:13:55 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2021-10-23T01:13:55Z</dc:date>
    <item>
      <title>Beginner : Help with opening single worksheet and worksheet setting</title>
      <link>https://community.jmp.com/t5/Discussions/Beginner-Help-with-opening-single-worksheet-and-worksheet/m-p/429451#M67897</link>
      <description>&lt;P&gt;I have this script which allows me to select the worksheet as well as set the worksheet settings when I put in the file path :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;Open(
	"$DESKTOP/JMP practice/Practive_1.xlsx",
	Worksheets( "Data_1" ),
	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( 49 ),
		Data Starts on Row( 50 ),
		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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I just try to write a script to let the user select a file to open with the command :&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;open ()&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It just opens all the work book and not letting me edit the workbook settings, I need a command which lets me edit the worksheet settings even when the file path isn't mentioned . Please Help&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:39:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Beginner-Help-with-opening-single-worksheet-and-worksheet/m-p/429451#M67897</guid>
      <dc:creator>hs2021</dc:creator>
      <dc:date>2023-06-10T23:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Beginner : Help with opening single worksheet and worksheet setting</title>
      <link>https://community.jmp.com/t5/Discussions/Beginner-Help-with-opening-single-worksheet-and-worksheet/m-p/429493#M67899</link>
      <description>&lt;P&gt;Use a Pick File() function to select the file to open, and then take the results of the Pick File and reference it in the Open() function.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;theFile = Pick File(....);
Open( theFile,
other loading options);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 23 Oct 2021 01:13:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Beginner-Help-with-opening-single-worksheet-and-worksheet/m-p/429493#M67899</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-10-23T01:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Beginner : Help with opening single worksheet and worksheet setting</title>
      <link>https://community.jmp.com/t5/Discussions/Beginner-Help-with-opening-single-worksheet-and-worksheet/m-p/430071#M67968</link>
      <description>&lt;P&gt;Hi txnelson,&lt;/P&gt;&lt;P&gt;the pick file works well , but i am still having issues :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;theFile = Pick File();

Open(
	"theFile",
	Worksheets( "Results"),
	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( 49 ),
		Data Starts on Row( 50 ),
		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;Even when I put this it show's an error " There was an error opening the file in the excel wizard... using all the open all sheets preference should work in this case" I trying to work it out, hopefully will find a way to get it done, Thanks !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 16:15:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Beginner-Help-with-opening-single-worksheet-and-worksheet/m-p/430071#M67968</guid>
      <dc:creator>hs2021</dc:creator>
      <dc:date>2021-10-25T16:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Beginner : Help with opening single worksheet and worksheet setting</title>
      <link>https://community.jmp.com/t5/Discussions/Beginner-Help-with-opening-single-worksheet-and-worksheet/m-p/430162#M67985</link>
      <description>&lt;P&gt;Remove the double quotes around&amp;nbsp; &amp;nbsp; &amp;nbsp; theFile&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 18:21:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Beginner-Help-with-opening-single-worksheet-and-worksheet/m-p/430162#M67985</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-10-25T18:21:16Z</dc:date>
    </item>
  </channel>
</rss>

