<?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>article QLIKVIEW AUTOMATION WITH PYTHON in Member Articles</title>
    <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/ta-p/1645028</link>
    <description>&lt;P&gt;Long time ago I have developed a vbscript application to open qlikview, reduce some data according salesman filter,&amp;nbsp;export the sales pivot table to excel and send an email with the excel sheet attached to the salesman using the blat.exe &amp;nbsp;application. The other day i was wondering if the same job could be executed using python. So after two minutes i was googling in search of some code snippets to easily make the python script. &amp;nbsp;After half an hour I was quite disappointed to not found anything already made so I opened Pycharm and started to make the basic code:&amp;nbsp;a class to make an instance of qlikview, open the document, export the table, close the document, close the qlikview app.&lt;/P&gt;&lt;P&gt;Here the code tested on python 3.7:&lt;/P&gt;&lt;P&gt;from win32com.client import Dispatch&lt;BR /&gt;import pythoncom&lt;/P&gt;&lt;P&gt;class QlikView:&lt;BR /&gt;def __init__(self):&lt;BR /&gt;self.app = Dispatch('QlikTech.QlikView')&lt;/P&gt;&lt;P&gt;def OpenDoc(self, docname):&lt;BR /&gt;doc = self.app.OpenDoc(docname)&lt;BR /&gt;return doc&lt;/P&gt;&lt;P&gt;def CloseDoc(self, doc):&lt;BR /&gt;doc.CloseDoc()&lt;/P&gt;&lt;P&gt;def ManageDocument():&lt;BR /&gt;docname = "c:\EXAMPLE.qvw"&lt;BR /&gt;q = QlikView()&lt;BR /&gt;version = q.app.QvVersion()&lt;BR /&gt;print(version)&lt;BR /&gt;doc = q.OpenDoc(docname)&lt;BR /&gt;chart = doc.GetSheetObject("exampletable")&lt;BR /&gt;chart.ExportBiff("c:\exampletable.xls"&lt;/P&gt;&lt;P&gt;&amp;nbsp;q.CloseDoc(doc)&lt;BR /&gt;&amp;nbsp;q.app.Quit()&lt;/P&gt;&lt;P&gt;if __name__ == '__main__':&lt;BR /&gt;ManageDocument()&lt;/P&gt;&lt;P&gt;This is the code that I've written at today , for sure i will go on and rewrite all the app to send report attached in emails, if &amp;nbsp;someone need more information, just send me a message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2022 17:07:35 GMT</pubDate>
    <dc:creator>matteo_mi</dc:creator>
    <dc:date>2022-09-21T17:07:35Z</dc:date>
    <item>
      <title>QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/ta-p/1645028</link>
      <description>&lt;P&gt;Long time ago I have developed a vbscript application to open qlikview, reduce some data according salesman filter,&amp;nbsp;export the sales pivot table to excel and send an email with the excel sheet attached to the salesman using the blat.exe &amp;nbsp;application. The other day i was wondering if the same job could be executed using python. So after two minutes i was googling in search of some code snippets to easily make the python script. &amp;nbsp;After half an hour I was quite disappointed to not found anything already made so I opened Pycharm and started to make the basic code:&amp;nbsp;a class to make an instance of qlikview, open the document, export the table, close the document, close the qlikview app.&lt;/P&gt;&lt;P&gt;Here the code tested on python 3.7:&lt;/P&gt;&lt;P&gt;from win32com.client import Dispatch&lt;BR /&gt;import pythoncom&lt;/P&gt;&lt;P&gt;class QlikView:&lt;BR /&gt;def __init__(self):&lt;BR /&gt;self.app = Dispatch('QlikTech.QlikView')&lt;/P&gt;&lt;P&gt;def OpenDoc(self, docname):&lt;BR /&gt;doc = self.app.OpenDoc(docname)&lt;BR /&gt;return doc&lt;/P&gt;&lt;P&gt;def CloseDoc(self, doc):&lt;BR /&gt;doc.CloseDoc()&lt;/P&gt;&lt;P&gt;def ManageDocument():&lt;BR /&gt;docname = "c:\EXAMPLE.qvw"&lt;BR /&gt;q = QlikView()&lt;BR /&gt;version = q.app.QvVersion()&lt;BR /&gt;print(version)&lt;BR /&gt;doc = q.OpenDoc(docname)&lt;BR /&gt;chart = doc.GetSheetObject("exampletable")&lt;BR /&gt;chart.ExportBiff("c:\exampletable.xls"&lt;/P&gt;&lt;P&gt;&amp;nbsp;q.CloseDoc(doc)&lt;BR /&gt;&amp;nbsp;q.app.Quit()&lt;/P&gt;&lt;P&gt;if __name__ == '__main__':&lt;BR /&gt;ManageDocument()&lt;/P&gt;&lt;P&gt;This is the code that I've written at today , for sure i will go on and rewrite all the app to send report attached in emails, if &amp;nbsp;someone need more information, just send me a message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 17:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/ta-p/1645028</guid>
      <dc:creator>matteo_mi</dc:creator>
      <dc:date>2022-09-21T17:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1649883#M416</link>
      <description>&lt;P&gt;wow very nice explanation , i didnt thought we could use python with qlikview.&lt;/P&gt;&lt;P&gt;will definately try this script.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 05:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1649883#M416</guid>
      <dc:creator>riishabhz</dc:creator>
      <dc:date>2019-11-22T05:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1664252#M417</link>
      <description>&lt;P&gt;Thanks for sharing the script! I tried it and it worked like a charm!&lt;/P&gt;&lt;P&gt;However, how would you apply one or more filters before exporting the table?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 21:51:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1664252#M417</guid>
      <dc:creator>DavidD</dc:creator>
      <dc:date>2020-01-09T21:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1664350#M418</link>
      <description>&lt;P&gt;Hi David, I'm happy that you like it.&lt;/P&gt;&lt;P&gt;To apply filter to data, you should use qlikview API&lt;/P&gt;&lt;P&gt;so for example to reduce data you can do this:&lt;/P&gt;&lt;P&gt;...........&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;doc = q.OpenDoc(docname)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;chart = doc.GetSheetObject("exampletable")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;filter =&amp;nbsp; "filter value"&lt;/P&gt;&lt;P&gt;doc.Fields("name of fields to select data").Select&amp;nbsp; filter&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;chart.ExportBiff("c:\exampletable.xls"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;...........&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 08:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1664350#M418</guid>
      <dc:creator>matteo_mi</dc:creator>
      <dc:date>2020-01-10T08:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1666107#M419</link>
      <description>&lt;P&gt;hi Matteo&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a data engeener, i never worked with qlik sense .&lt;/P&gt;&lt;P&gt;i was asked to see if there is a way to automate a daily process on qlik sense using python. does the fact htat qlik sense is installed in server needs changes in your script ?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 08:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1666107#M419</guid>
      <dc:creator>Mouadbenaou</dc:creator>
      <dc:date>2020-01-16T08:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1669239#M420</link>
      <description>&lt;P&gt;Hi Mouadbenaou, &amp;nbsp;Qlik sense is very different respect qlikview. If you use a server you can automate reload and send email with nprinting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2020 22:56:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1669239#M420</guid>
      <dc:creator>matteo_mi</dc:creator>
      <dc:date>2020-01-26T22:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1679369#M421</link>
      <description>&lt;P&gt;Hi i tried it in my desktop but i have this error when i try to do:&lt;/P&gt;&lt;PRE&gt;chart.ExportBiff(&lt;SPAN&gt;"D:\exampletable.xls"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;it do this error if i use in my chart (if i use in a table, not):&lt;/P&gt;&lt;P&gt;Version: 12.20.20700+2018-06-19 08:55:15+e2a0a63&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "C:\Program Files\JetBrains\PyCharm Community Edition 2019.2.4\helpers\pydev\pydevd.py", line 1415, in _exec&lt;BR /&gt;pydev_imports.execfile(file, globals, locals) # execute the script&lt;BR /&gt;File "C:\Program Files\JetBrains\PyCharm Community Edition 2019.2.4\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile&lt;BR /&gt;exec(compile(contents+"\n", file, 'exec'), glob, loc)&lt;BR /&gt;File "D:/PythonPrj/QlikPrj/QlikView.py", line 32, in &amp;lt;module&amp;gt;&lt;BR /&gt;ManageDocument()&lt;BR /&gt;File "D:/PythonPrj/QlikPrj/QlikView.py", line 26, in ManageDocument&lt;BR /&gt;chart.ExportBiff("D:\exampletable.xls")&lt;BR /&gt;File "C:\Users\d.caprelli\Envs\QlikPrj\lib\site-packages\win32com\client\dynamic.py", line 527, in __getattr__&lt;BR /&gt;raise AttributeError("%s.%s" % (self._username_, attr))&lt;BR /&gt;AttributeError: GetSheetObject.ExportBiff&lt;/P&gt;&lt;P&gt;and i have 2 question:&lt;/P&gt;&lt;P&gt;1. But if i want to automate a daily process on qlikView using python. does the fact that qlikView is installed in server what i needs to changes in your script ?&lt;/P&gt;&lt;P&gt;2. is possible to open document and doing export in background, without open the qlik gui, from python?&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;i&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 11:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1679369#M421</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2020-02-26T11:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1697101#M422</link>
      <description>&lt;P&gt;Do you have any method to fixed the issues? I have account the same issue. Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 14:29:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1697101#M422</guid>
      <dc:creator>JerryHaHa</dc:creator>
      <dc:date>2020-04-27T14:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1697121#M423</link>
      <description>&lt;P&gt;Hi, thanks for your methon. It is helpfull. And I want to know how to export the charts like Bar Chart, Pie Chart and etc...&lt;/P&gt;&lt;P&gt;Looking forward to your help, thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 14:52:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1697121#M423</guid>
      <dc:creator>JerryHaHa</dc:creator>
      <dc:date>2020-04-27T14:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1697125#M424</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;PRE&gt;ExportBiff&lt;/PRE&gt;&lt;P&gt;is only for a Table, for chart you need to use the methods&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;ExportHtml&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;ExportBitmapToFile&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;or others....&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 14:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1697125#M424</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2020-04-27T14:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1697131#M425</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Thanks for your reply. I have use ExportBitmapToFile.&amp;nbsp; It can use like: chart.ExportBitmapToFile()&lt;/P&gt;&lt;P&gt;But where I can find the excel files? or can I export the Bar charts to excel also?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 15:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1697131#M425</guid>
      <dc:creator>JerryHaHa</dc:creator>
      <dc:date>2020-04-27T15:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1729664#M426</link>
      <description>&lt;P&gt;Thanks for sharing nice idea on Qlik - Python integration for automating the data export.&lt;/P&gt;&lt;P&gt;Is it possible to connect Qlikview report (deployed in QV server) to export data instead of referring to physical folder?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6437"&gt;@matteo_mi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 18:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1729664#M426</guid>
      <dc:creator>shubshar</dc:creator>
      <dc:date>2020-07-21T18:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1733812#M427</link>
      <description>&lt;P&gt;Wow. You're the best!&lt;/P&gt;&lt;P&gt;Is that possible to open a Qlikview file (qvw) reload it to get the data updated without use the PyAutogui to send those keys??&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 15:08:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1733812#M427</guid>
      <dc:creator>LuizFernandoSena</dc:creator>
      <dc:date>2020-08-06T15:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1733819#M428</link>
      <description>&lt;P&gt;Sure, you can do that in a batch script like this (in windows):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"C:\Program Files\QlikView\qv.exe" /l /NoSecurity "&amp;lt;dir_qlik_project&amp;gt;\&amp;lt;qlikproject_name&amp;gt;.qvw"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 15:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1733819#M428</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2020-08-06T15:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1733832#M429</link>
      <description>&lt;P&gt;I'm trying it out but I'm getting some&amp;nbsp;indentation error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using VSCODE. Is the code will work the same?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 15:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1733832#M429</guid>
      <dc:creator>LuizFernandoSena</dc:creator>
      <dc:date>2020-08-06T15:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1733836#M430</link>
      <description>&lt;P&gt;Perhaps i not explained well, this is a script to execute in a batch file (dos file .bat)&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 15:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1733836#M430</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2020-08-06T15:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1781103#M431</link>
      <description>&lt;P&gt;Great post.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6437"&gt;@matteo_mi&lt;/a&gt;&amp;nbsp; Is there a way we can do the same from Access point documents with filter. Have you used a use case like this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/15395"&gt;@shubshar&lt;/a&gt;&amp;nbsp;have you found a way to do from access point ?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 08:02:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1781103#M431</guid>
      <dc:creator>dnagarajan</dc:creator>
      <dc:date>2021-02-09T08:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1802678#M432</link>
      <description>&lt;P&gt;If i need to put more Table in same XLS , with ExportBiff i see i can choose only one... how can i put in same XLS more Table in different sheet?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 12:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1802678#M432</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2021-04-26T12:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1995841#M808</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Is it possible to export 2 different charts to the same excel file?&lt;/P&gt;
&lt;P&gt;Or in alternative run a macro from Qlikview that makes this process?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 23 Oct 2022 15:42:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1995841#M808</guid>
      <dc:creator>pmc</dc:creator>
      <dc:date>2022-10-23T15:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: QLIKVIEW AUTOMATION WITH PYTHON</title>
      <link>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1995995#M809</link>
      <description>&lt;P&gt;Sure is possible, i did that yet. I use this way, i create different files and after with excel api i unite all&lt;/P&gt;
&lt;P&gt;For do that, i use the library:&amp;nbsp;&lt;/P&gt;
&lt;PRE style="background-color: #ffffff; color: #000000; font-family: 'Consolas'; font-size: 9,8pt;"&gt;&lt;SPAN&gt;from &lt;/SPAN&gt;openpyxl &lt;SPAN&gt;import &lt;/SPAN&gt;Workbook, load_workbook, styles&lt;/PRE&gt;
&lt;P&gt;So i put the different chart object in different object in this way:&lt;/P&gt;
&lt;PRE style="background-color: #ffffff; color: #000000; font-family: 'Consolas'; font-size: 9,8pt;"&gt;chart = doc.GetSheetObject(&amp;lt;element_chart_1&amp;gt;)&lt;BR /&gt;chart2 = doc.GetSheetObject(&amp;lt;element_chart_2&amp;gt;)&lt;BR /&gt;chart3 = doc.GetSheetObject(&amp;lt;element_chart_3&amp;gt;)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;After i punt different chart object in different files .xls&lt;/P&gt;
&lt;PRE style="background-color: #ffffff; color: #000000; font-family: 'Consolas'; font-size: 9,8pt;"&gt;chart.ExportBiff(&amp;lt;excel1.xls&amp;gt;)&lt;BR /&gt;chart2.ExportBiff(&amp;lt;excel2.xls&amp;gt;)&lt;BR /&gt;chart3.ExportBiff(&amp;lt;excel3.xls&amp;gt;)&lt;/PRE&gt;
&lt;P&gt;i chage the type from .xls in .xlsx&lt;/P&gt;
&lt;PRE style="background-color: #ffffff; color: #000000; font-family: 'Consolas'; font-size: 9,8pt;"&gt;xChart = XLS2XLSX(&amp;lt;excel1.xls&amp;gt;)&lt;BR /&gt;xChart2 = XLS2XLSX(&amp;lt;excel2.xls&amp;gt;)&lt;BR /&gt;xChart3 = XLS2XLSX(&amp;lt;excel3.xls&amp;gt;)&lt;/PRE&gt;
&lt;PRE style="background-color: #ffffff; color: #000000; font-family: 'Consolas'; font-size: 9,8pt;"&gt;xChart.to_xlsx(&amp;lt;excel1.xls&amp;gt; + &lt;SPAN&gt;"x"&lt;/SPAN&gt;)&lt;BR /&gt;xChart2.to_xlsx(&amp;lt;excel2.xls&amp;gt; + &lt;SPAN&gt;"x"&lt;/SPAN&gt;)&lt;BR /&gt;xChart3.to_xlsx(&amp;lt;excel3.xls&amp;gt; + &lt;SPAN&gt;"x"&lt;/SPAN&gt;)&lt;/PRE&gt;
&lt;P&gt;for finish i put all in the same file .xlsx in different workbook&lt;/P&gt;
&lt;PRE style="background-color: #ffffff; color: #000000; font-family: 'Consolas'; font-size: 9,8pt;"&gt;xl = Dispatch(&lt;SPAN&gt;"Excel.Application"&lt;/SPAN&gt;)&lt;BR /&gt;xl.Visible = &lt;SPAN&gt;False  &lt;/SPAN&gt;&lt;SPAN&gt;# You can remove this line if you don't want the Excel application to be visible&lt;BR /&gt;&lt;/SPAN&gt;wb1 = xl.Workbooks.Open(&lt;SPAN&gt;Filename&lt;/SPAN&gt;=path1)&lt;BR /&gt;wb2 = xl.Workbooks.Open(&lt;SPAN&gt;Filename&lt;/SPAN&gt;=path2)&lt;BR /&gt;wb3 = xl.Workbooks.Open(&lt;SPAN&gt;Filename&lt;/SPAN&gt;=path3)&lt;/PRE&gt;
&lt;PRE style="background-color: #ffffff; color: #000000; font-family: 'Consolas'; font-size: 9,8pt;"&gt;ws1 = wb1.Worksheets(&lt;SPAN&gt;1&lt;/SPAN&gt;)&lt;BR /&gt;ws2 = wb2.Worksheets(&lt;SPAN&gt;1&lt;/SPAN&gt;)&lt;BR /&gt;ws3 = wb3.Worksheets(&lt;SPAN&gt;1&lt;/SPAN&gt;)&lt;/PRE&gt;
&lt;PRE style="background-color: #ffffff; color: #000000; font-family: 'Consolas'; font-size: 9,8pt;"&gt;wb1.Close(&lt;SPAN&gt;SaveChanges&lt;/SPAN&gt;=&lt;SPAN&gt;True&lt;/SPAN&gt;)&lt;BR /&gt;xl.Quit()&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;That's all&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 08:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Member-Articles/QLIKVIEW-AUTOMATION-WITH-PYTHON/tac-p/1995995#M809</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2022-10-24T08:11:31Z</dc:date>
    </item>
  </channel>
</rss>

