<?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 JSL Saving EXCEL format and Keeping Leading Zeroes in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-Saving-EXCEL-format-and-Keeping-Leading-Zeroes/m-p/460077#M70499</link>
    <description>&lt;P&gt;Greetings,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a JMP file that has leading 0s in several of the columns that I want to keep.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data Type is Character... and Modeling Type is Nominal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I save the file into EXCEL format using the JSL code below,&amp;nbsp; the leading 0s disappear. Is there anyway to keep them in?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;du = Cust_join &amp;lt;&amp;lt; Save( Concat("C:\file",Format( Today(), "yyyymmdd" ),".xlsx") );&lt;BR /&gt;&lt;BR /&gt;I suppose script some code that puts an apostrophe in front of every instance but there are some row&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:44:01 GMT</pubDate>
    <dc:creator>fat_angus</dc:creator>
    <dc:date>2023-06-10T23:44:01Z</dc:date>
    <item>
      <title>JSL Saving EXCEL format and Keeping Leading Zeroes</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Saving-EXCEL-format-and-Keeping-Leading-Zeroes/m-p/460077#M70499</link>
      <description>&lt;P&gt;Greetings,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a JMP file that has leading 0s in several of the columns that I want to keep.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data Type is Character... and Modeling Type is Nominal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I save the file into EXCEL format using the JSL code below,&amp;nbsp; the leading 0s disappear. Is there anyway to keep them in?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;du = Cust_join &amp;lt;&amp;lt; Save( Concat("C:\file",Format( Today(), "yyyymmdd" ),".xlsx") );&lt;BR /&gt;&lt;BR /&gt;I suppose script some code that puts an apostrophe in front of every instance but there are some row&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:44:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Saving-EXCEL-format-and-Keeping-Leading-Zeroes/m-p/460077#M70499</guid>
      <dc:creator>fat_angus</dc:creator>
      <dc:date>2023-06-10T23:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Saving EXCEL format and Keeping Leading Zeroes</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Saving-EXCEL-format-and-Keeping-Leading-Zeroes/m-p/460099#M70503</link>
      <description>&lt;P&gt;Here is the file name that I get using your JSL......where are the leading zeros that have been dropped&lt;/P&gt;
&lt;PRE&gt;"C:\file20220210.xlsx"&lt;/PRE&gt;
&lt;P&gt;What release of JMP are you using?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 21:50:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Saving-EXCEL-format-and-Keeping-Leading-Zeroes/m-p/460099#M70503</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-02-10T21:50:09Z</dc:date>
    </item>
    <item>
      <title>回复： JSL Saving EXCEL format and Keeping Leading Zeroes</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Saving-EXCEL-format-and-Keeping-Leading-Zeroes/m-p/460211#M70506</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; Save( "C:\file" || Char( Format( Today(), "y/m/d" ) ) || Char( Hour( Today() ) ) || Char( Minute( Today() ) ) || ".xlsx" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Feb 2022 06:02:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Saving-EXCEL-format-and-Keeping-Leading-Zeroes/m-p/460211#M70506</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-02-11T06:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Saving EXCEL format and Keeping Leading Zeroes</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Saving-EXCEL-format-and-Keeping-Leading-Zeroes/m-p/460267#M70514</link>
      <description>&lt;P&gt;Hi Txnelson...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using JMP16.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not at all concerned about the file name. I am concerned about the columns in the file that have leading 0's. They look look fine in JMP but when I save as an EXCEL file using the script above or even using File... Save... As, the columns delete the leading 0's.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IN JMP I have file that contains a column that looks like this;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fat_angus_0-1644585681544.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/39907iCD7EB8EE7C672B4F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fat_angus_0-1644585681544.png" alt="fat_angus_0-1644585681544.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I save it in EXCEL, the leading 0's are trimmed... thus, 0001585350 gets trimmed to 1585350&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 13:22:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Saving-EXCEL-format-and-Keeping-Leading-Zeroes/m-p/460267#M70514</guid>
      <dc:creator>fat_angus</dc:creator>
      <dc:date>2022-02-11T13:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Saving EXCEL format and Keeping Leading Zeroes</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Saving-EXCEL-format-and-Keeping-Leading-Zeroes/m-p/460275#M70516</link>
      <description>&lt;P&gt;JMP is exporting all of the leading zeros.&amp;nbsp; It is Excel that is stripping them off.&amp;nbsp; Your suggestion of placing a non numeric value in of the column's values would be one way to preserve the leading zeros.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe another community member has a better solution&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 14:50:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Saving-EXCEL-format-and-Keeping-Leading-Zeroes/m-p/460275#M70516</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-02-11T14:50:06Z</dc:date>
    </item>
    <item>
      <title>回复： JSL Saving EXCEL format and Keeping Leading Zeroes</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Saving-EXCEL-format-and-Keeping-Leading-Zeroes/m-p/460297#M70517</link>
      <description>&lt;P&gt;It does appear that Excel is stripping off the leading zeroes.&amp;nbsp; Guess you'll have to stay in JMP and not use Excel LOL.&amp;nbsp;&amp;nbsp;But if you must use Excel, you can preface the values with a single quote.&amp;nbsp; Here are the JMP table and Excel spreadsheet:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pmroz_0-1644591928582.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/39912i164CF2EEF1D34897/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pmroz_0-1644591928582.png" alt="pmroz_0-1644591928582.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 15:09:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Saving-EXCEL-format-and-Keeping-Leading-Zeroes/m-p/460297#M70517</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2022-02-11T15:09:27Z</dc:date>
    </item>
  </channel>
</rss>

