<?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 Open qvw using vb script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Open-qvw-using-vb-script/m-p/1557128#M744505</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i found this code somewhere in blog to&amp;nbsp;&lt;STRONG&gt;Open QlikView application, reload, press a button and close.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and it specifically said to put the code in a .vba file.&lt;/P&gt;&lt;P&gt;but i don't know where to write this code and how to execute this. can someone please help me to clear this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Set MyApp = CreateObject("QlikTech.QlikView") Set MyDoc = MyApp.OpenDoc ("C:\QlikViewApps\Demo.qvw","","") Set ActiveDocument = MyDoc ActiveDocument.Reload Set Button1 = ActiveDocument.GetSheetObject("BU01") Button1.Press MyDoc.GetApplication.Quit Set MyDoc = Nothing Set MyApp = Nothing&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;9) Delete file&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>madushanfernand</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Open qvw using vb script</title>
      <link>https://community.qlik.com/t5/QlikView/Open-qvw-using-vb-script/m-p/1557128#M744505</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i found this code somewhere in blog to&amp;nbsp;&lt;STRONG&gt;Open QlikView application, reload, press a button and close.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and it specifically said to put the code in a .vba file.&lt;/P&gt;&lt;P&gt;but i don't know where to write this code and how to execute this. can someone please help me to clear this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Set MyApp = CreateObject("QlikTech.QlikView") Set MyDoc = MyApp.OpenDoc ("C:\QlikViewApps\Demo.qvw","","") Set ActiveDocument = MyDoc ActiveDocument.Reload Set Button1 = ActiveDocument.GetSheetObject("BU01") Button1.Press MyDoc.GetApplication.Quit Set MyDoc = Nothing Set MyApp = Nothing&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;9) Delete file&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-qvw-using-vb-script/m-p/1557128#M744505</guid>
      <dc:creator>madushanfernand</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Open qvw using vb script</title>
      <link>https://community.qlik.com/t5/QlikView/Open-qvw-using-vb-script/m-p/1557318#M744506</link>
      <description>&lt;P&gt;The code you pasted belongs to Excel macro. Meaning you need to copy the below lines to the macro window in Excel and then run the code in Excel:&lt;/P&gt;&lt;P&gt;Set MyApp = CreateObject("QlikTech.QlikView")&lt;BR /&gt;Set MyDoc = MyApp.OpenDoc ("C:\QlikViewApps\Demo.qvw","","")&lt;BR /&gt;Set ActiveDocument = MyDoc ActiveDocument.Reload&lt;BR /&gt;Set Button1 = ActiveDocument.GetSheetObject("BU01") Button1.Press&lt;BR /&gt;MyDoc.GetApplication.Quit&lt;BR /&gt;Set MyDoc = Nothing&lt;BR /&gt;Set MyApp = Nothing&lt;/P&gt;&lt;P&gt;Once you run the above code in Excel, it will refreshes the dashboard "Demo.qvw" by clicking on the button. Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 17:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-qvw-using-vb-script/m-p/1557318#M744506</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2019-03-15T17:00:00Z</dc:date>
    </item>
  </channel>
</rss>

