<?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 [resolved] Can the tFileExcel components open/write to macro enabled workbooks? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Can-the-tFileExcel-components-open-write-to-macro/m-p/2218652#M13778</link>
    <description>I get errors when I try to open/save an .xlsm macro enabled work book. I'm needing a macro to run when the book opens to update all tables/formulas with the latest data. 
&lt;BR /&gt;Do the tFileExcel components not work with .xlsm books? Am I missing something? 
&lt;BR /&gt;This is the error I get when I try to open my macro-enabled workbook: 
&lt;BR /&gt;Exception in component tFileExcelWorkbookOpen_1 
&lt;BR /&gt;java.lang.IllegalStateException: workbook must be initialized! 
&lt;BR /&gt; at de.cimt.talendcomp.tfileexcelpoi.SpreadsheetFile.setupDataFormatStyle(SpreadsheetFile.java:234) 
&lt;BR /&gt; at de.cimt.talendcomp.tfileexcelpoi.SpreadsheetFile.initializeWorkbook(SpreadsheetFile.java:174) 
&lt;BR /&gt; at test.lcr_last_month_team_stats_0_1.LCR_Last_Month_Team_Stats.tFileExcelWorkbookOpen_1Process(LCR_Last_Month_Team_Stats.java:1192) 
&lt;BR /&gt; at test.lcr_last_month_team_stats_0_1.LCR_Last_Month_Team_Stats.runJobInTOS(LCR_Last_Month_Team_Stats.java:7316) 
&lt;BR /&gt; at test.lcr_last_month_team_stats_0_1.LCR_Last_Month_Team_Stats.main(LCR_Last_Month_Team_Stats.java:7157) 
&lt;BR /&gt;Exception in component tFileExcelWorkbookSave_3 
&lt;BR /&gt;java.lang.IllegalArgumentException: workbook cannot be null! 
&lt;BR /&gt; at de.cimt.talendcomp.tfileexcelpoi.SpreadsheetFile.setWorkbook(SpreadsheetFile.java:179) 
&lt;BR /&gt; at test.lcr_last_month_team_stats_0_1.LCR_Last_Month_Team_Stats.tFileExcelWorkbookSave_3Process(LCR_Last_Month_Team_Stats.java:6833) 
&lt;BR /&gt; at test.lcr_last_month_team_stats_0_1.LCR_Last_Month_Team_Stats.runJobInTOS(LCR_Last_Month_Team_Stats.java:7328)</description>
    <pubDate>Tue, 13 Nov 2012 20:47:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-11-13T20:47:59Z</dc:date>
    <item>
      <title>[resolved] Can the tFileExcel components open/write to macro enabled workbooks?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Can-the-tFileExcel-components-open-write-to-macro/m-p/2218652#M13778</link>
      <description>I get errors when I try to open/save an .xlsm macro enabled work book. I'm needing a macro to run when the book opens to update all tables/formulas with the latest data. 
&lt;BR /&gt;Do the tFileExcel components not work with .xlsm books? Am I missing something? 
&lt;BR /&gt;This is the error I get when I try to open my macro-enabled workbook: 
&lt;BR /&gt;Exception in component tFileExcelWorkbookOpen_1 
&lt;BR /&gt;java.lang.IllegalStateException: workbook must be initialized! 
&lt;BR /&gt; at de.cimt.talendcomp.tfileexcelpoi.SpreadsheetFile.setupDataFormatStyle(SpreadsheetFile.java:234) 
&lt;BR /&gt; at de.cimt.talendcomp.tfileexcelpoi.SpreadsheetFile.initializeWorkbook(SpreadsheetFile.java:174) 
&lt;BR /&gt; at test.lcr_last_month_team_stats_0_1.LCR_Last_Month_Team_Stats.tFileExcelWorkbookOpen_1Process(LCR_Last_Month_Team_Stats.java:1192) 
&lt;BR /&gt; at test.lcr_last_month_team_stats_0_1.LCR_Last_Month_Team_Stats.runJobInTOS(LCR_Last_Month_Team_Stats.java:7316) 
&lt;BR /&gt; at test.lcr_last_month_team_stats_0_1.LCR_Last_Month_Team_Stats.main(LCR_Last_Month_Team_Stats.java:7157) 
&lt;BR /&gt;Exception in component tFileExcelWorkbookSave_3 
&lt;BR /&gt;java.lang.IllegalArgumentException: workbook cannot be null! 
&lt;BR /&gt; at de.cimt.talendcomp.tfileexcelpoi.SpreadsheetFile.setWorkbook(SpreadsheetFile.java:179) 
&lt;BR /&gt; at test.lcr_last_month_team_stats_0_1.LCR_Last_Month_Team_Stats.tFileExcelWorkbookSave_3Process(LCR_Last_Month_Team_Stats.java:6833) 
&lt;BR /&gt; at test.lcr_last_month_team_stats_0_1.LCR_Last_Month_Team_Stats.runJobInTOS(LCR_Last_Month_Team_Stats.java:7328)</description>
      <pubDate>Tue, 13 Nov 2012 20:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Can-the-tFileExcel-components-open-write-to-macro/m-p/2218652#M13778</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-13T20:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Can the tFileExcel components open/write to macro enabled workbooks?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Can-the-tFileExcel-components-open-write-to-macro/m-p/2218653#M13779</link>
      <description>Hi
&lt;BR /&gt;You are using a custom component shared by jlolling on 
&lt;A href="http://www.talendforge.org/exchange/index.php?eid=623&amp;amp;product=tos&amp;amp;action=view&amp;amp;nav=1,1,1" target="_blank" rel="nofollow noopener noreferrer"&gt;Talend Exchange&lt;/A&gt;. I am going to notify this topic to the author of the component, hope he will come back to you.</description>
      <pubDate>Wed, 14 Nov 2012 03:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Can-the-tFileExcel-components-open-write-to-macro/m-p/2218653#M13779</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-14T03:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Can the tFileExcel components open/write to macro enabled workbooks?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Can-the-tFileExcel-components-open-write-to-macro/m-p/2218654#M13780</link>
      <description>Thank you Shong!</description>
      <pubDate>Wed, 14 Nov 2012 03:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Can-the-tFileExcel-components-open-write-to-macro/m-p/2218654#M13780</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-14T03:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Can the tFileExcel components open/write to macro enabled workbooks?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Can-the-tFileExcel-components-open-write-to-macro/m-p/2218655#M13781</link>
      <description>There is a missing feature in this component. Unfortunately xlsm is currently not supported but it works with a workaround (rename file extension to .xlsx). I work on it and as soon as my tests will succeed I will provide a new release. 
&lt;BR /&gt;The bug in this issue is the misleading error message and handling of unsupported file types. 
&lt;BR /&gt;But there is another problem which I am unable to solve. The current POI library (and all others I know or Talend uses) does not provide the run of macros (but macros will survive the processing). As fare as I know only Excel or OpenOffice/LibreOffice are able to run macros.</description>
      <pubDate>Wed, 14 Nov 2012 08:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Can-the-tFileExcel-components-open-write-to-macro/m-p/2218655#M13781</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-14T08:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Can the tFileExcel components open/write to macro enabled workbooks?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Can-the-tFileExcel-components-open-write-to-macro/m-p/2218656#M13782</link>
      <description>Many thanks to you jlolling! Your last update corrected the issues I was having. I also realized, after you suggested removing the components completely and re-installing them that I had originally had to copy the POI jar dependencies to the talend/lib folder for talend to see them. Once I replaced the older dependencies with the newest, the other errors I was seeing cleared also. 
&lt;BR /&gt;Your component has solved a several months problem we've had with generating automated excel reports. Thank you for your contribution to the community!</description>
      <pubDate>Sat, 17 Nov 2012 15:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Can-the-tFileExcel-components-open-write-to-macro/m-p/2218656#M13782</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-17T15:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Can the tFileExcel components open/write to macro enabled workbooks?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Can-the-tFileExcel-components-open-write-to-macro/m-p/2218657#M13783</link>
      <description>I get errors when I try to job
&lt;BR /&gt;This is the error :
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;Exception in component tFileExcelWorkbookOpen_1&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;org.apache.poi.EncryptedDocumentException: Export Restrictions in place - please install JCE Unlimited Strength Jurisdiction Policy files&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;at org.apache.poi.poifs.crypt.CryptoFunctions.getCipher(CryptoFunctions.java:208)&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;at org.apache.poi.poifs.crypt.CryptoFunctions.getCipher(CryptoFunctions.java:182)&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;at org.apache.poi.poifs.crypt.agile.AgileDecryptor.hashInput(AgileDecryptor.java:269)&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;at org.apache.poi.poifs.crypt.agile.AgileDecryptor.verifyPassword(AgileDecryptor.java:116)&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;at de.cimt.talendcomp.tfileexcelpoi.SpreadsheetFile.initializeWorkbook(SpreadsheetFile.java:341)&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;at reporting.copy_of_releve_journalier_masterjob_1_0.Copy_of_releve_journalier_masterjob.tFileExcelWorkbookOpen_1Process(Copy_of_releve_journalier_masterjob.java:1328)&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;at reporting.copy_of_releve_journalier_masterjob_1_0.Copy_of_releve_journalier_masterjob.tFileList_1Process(Copy_of_releve_journalier_masterjob.java:1654)&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;at reporting.copy_of_releve_journalier_masterjob_1_0.Copy_of_releve_journalier_masterjob.runJobInTOS(Copy_of_releve_journalier_masterjob.java:2065)&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;at reporting.copy_of_releve_journalier_masterjob_1_0.Copy_of_releve_journalier_masterjob.main(Copy_of_releve_journalier_masterjob.java:1773)&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 01 Sep 2016 15:17:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Can-the-tFileExcel-components-open-write-to-macro/m-p/2218657#M13783</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-01T15:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Can the tFileExcel components open/write to macro enabled workbooks?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Can-the-tFileExcel-components-open-write-to-macro/m-p/2218658#M13784</link>
      <description>&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;a-elghazi - you might need to install the JCE. You can download it from Oracle..&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="2"&gt;&lt;A href="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html" rel="nofollow noopener noreferrer"&gt;http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;</description>
      <pubDate>Fri, 09 Sep 2016 14:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Can-the-tFileExcel-components-open-write-to-macro/m-p/2218658#M13784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-09T14:41:03Z</dc:date>
    </item>
  </channel>
</rss>

