<?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: customize the formatting of the target excel file when save a data table as a excel file. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/customize-the-formatting-of-the-target-excel-file-when-save-a/m-p/19285#M17586</link>
    <description>&lt;P&gt;Thanks for the idea!! Exactly, that's what I wanted.&lt;BR /&gt; &lt;BR /&gt;The reverse-engineering part does take some time. Here are my approach and couple tips.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open the *.xml file with notepad ++. It makes life much easier to identify each section of a XML file.&lt;/LI&gt;
&lt;LI&gt;Replace the &amp;lt;Row&amp;gt;..&amp;lt;/Row&amp;gt; selection with a "for" loop over the JMP data table.It's a good idea to start with a data table with only a couple of rows.&lt;/LI&gt;
&lt;LI&gt;Locate the debug log to see why if the Excel cannot open it. One possible cause could be the default Col/RowCount in the &amp;lt;Table&amp;gt;...&amp;lt;/Table&amp;gt; section doesn't match the actual data we have. Seem it can simply be removed and excel can handle it fine. Not sure if that will be a problem if apply the script to a large data table.&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Mon, 06 Nov 2017 15:06:44 GMT</pubDate>
    <dc:creator>zlsas</dc:creator>
    <dc:date>2017-11-06T15:06:44Z</dc:date>
    <item>
      <title>customize the formatting of the target excel file when save a data table as a excel file.</title>
      <link>https://community.jmp.com/t5/Discussions/customize-the-formatting-of-the-target-excel-file-when-save-a/m-p/19283#M17584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to ask JMP community to help me out on a custom way to export JMP table to excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Part of my script need to export a JMP table to excel file.&lt;/P&gt;&lt;P&gt;Ideally, I would like to customize the formatting of the target excel file when exporting. (with desired column width, row height, color, etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But so far, I find that JMP will only carry the cell color to the target excel file. And I’ve been looking for ways to pass a command or set some parameter when exporting, but not luck yet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea or insight will be appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Zelong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 20:23:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/customize-the-formatting-of-the-target-excel-file-when-save-a/m-p/19283#M17584</guid>
      <dc:creator>zlsas</dc:creator>
      <dc:date>2016-06-28T20:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: customize the formatting of the target excel file when save a data table as a excel file.</title>
      <link>https://community.jmp.com/t5/Discussions/customize-the-formatting-of-the-target-excel-file-when-save-a/m-p/19284#M17585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The approach I've used in the past is heavy on JSL programming but will produce nice-looking results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Save the dataset as an Excel file&lt;/P&gt;&lt;P&gt;2. Format the Excel file exactly how you want it to look, e.g. colors, bolding, freeze rows etc.&lt;/P&gt;&lt;P&gt;3. Save the file as type XML Spreadsheet 2003 (*.xml)&lt;/P&gt;&lt;P&gt;4. This is the hard part: write a JSL program that "reverse-engineers" the xml file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used this approach to combine several result tables into a multi-tabbed Excel workbook.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 13:29:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/customize-the-formatting-of-the-target-excel-file-when-save-a/m-p/19284#M17585</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2016-06-29T13:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: customize the formatting of the target excel file when save a data table as a excel file.</title>
      <link>https://community.jmp.com/t5/Discussions/customize-the-formatting-of-the-target-excel-file-when-save-a/m-p/19285#M17586</link>
      <description>&lt;P&gt;Thanks for the idea!! Exactly, that's what I wanted.&lt;BR /&gt; &lt;BR /&gt;The reverse-engineering part does take some time. Here are my approach and couple tips.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Open the *.xml file with notepad ++. It makes life much easier to identify each section of a XML file.&lt;/LI&gt;
&lt;LI&gt;Replace the &amp;lt;Row&amp;gt;..&amp;lt;/Row&amp;gt; selection with a "for" loop over the JMP data table.It's a good idea to start with a data table with only a couple of rows.&lt;/LI&gt;
&lt;LI&gt;Locate the debug log to see why if the Excel cannot open it. One possible cause could be the default Col/RowCount in the &amp;lt;Table&amp;gt;...&amp;lt;/Table&amp;gt; section doesn't match the actual data we have. Seem it can simply be removed and excel can handle it fine. Not sure if that will be a problem if apply the script to a large data table.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 06 Nov 2017 15:06:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/customize-the-formatting-of-the-target-excel-file-when-save-a/m-p/19285#M17586</guid>
      <dc:creator>zlsas</dc:creator>
      <dc:date>2017-11-06T15:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: customize the formatting of the target excel file when save a data table as a excel file.</title>
      <link>https://community.jmp.com/t5/Discussions/customize-the-formatting-of-the-target-excel-file-when-save-a/m-p/19286#M17587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set the column and row counts to a large enough number to accomodate your data.&amp;nbsp; When I've done this the column count is fixed, and I set the rowcount to a large enough number to handle my largest dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 18:26:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/customize-the-formatting-of-the-target-excel-file-when-save-a/m-p/19286#M17587</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2016-07-06T18:26:47Z</dc:date>
    </item>
  </channel>
</rss>

