<?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: Integration with Microsoft Visio in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Integration-with-Microsoft-Visio/m-p/627100#M230433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;I took some time to prepare the example and I may have added more complexity than you asked for but any way.&lt;/P&gt;&lt;P&gt;In short what I do to integrate Visio with Qlikview is as following:&lt;/P&gt;&lt;OL start="1"&gt;&lt;LI&gt;Create a macro in Visio to open an instance of my QlikView App&lt;/LI&gt;&lt;LI&gt;Create a macro in Visio to reload the qv document&lt;/LI&gt;&lt;LI&gt;Detect changes in selection in Visio and if change&lt;OL start="1"&gt;&lt;LI&gt;Find selected object&lt;/LI&gt;&lt;LI&gt;Decode object (find name)&lt;/LI&gt;&lt;LI&gt;Update variable in qv document&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The integration is to use variables in expressions in QVand then make Visio updating these variables.&lt;/P&gt;&lt;P&gt;This is not Visio specific. You could e.g. do the same in Excel. When a sheet is updated press a button to initiate a qv reload of changes in the Excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Private Sub cmd_QlikView_App_Start_Click()&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' ** Open QV with named document ***&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim vFilePath As String&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vFilePath = ActiveDocument.Path&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vFilePath = vFilePath &amp;amp; "Network_Test.qvw"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Debug.Print vFilePath&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set Qv = CreateObject("QlikTech.QlikView")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set QvDoc = Qv.OpenDoc(vFilePath, "", "")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Debug.Print vFilePath&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QvDoc.ActivateSheet "Transport"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set vsoWindow = ActiveWindow&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;End Sub&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Above is the macro to initiate the qv document and below is the macro to reload the initiated document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Private Sub cmd_QlikView_App_Reload_Click()&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '** Reload QV Document ***&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; QvDoc.Reload&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;End Sub&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I have attached 4 documents. &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Bookings:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Test case with transport orders and sales (Excel)&lt;/LI&gt;&lt;LI&gt;Network:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Admin page for remote access to QlikView and network model&lt;/LI&gt;&lt;LI&gt;Network_Test: QlikView test app&lt;/LI&gt;&lt;LI&gt;Network_List:&amp;nbsp;&amp;nbsp; The network model exported from Visio to a csv file.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution is not high quality or a professional integration, but more a rapid test of integration possibilities with QlikView. But the solution is generic so you can expend the network model and add nodes and links. The only thing you need to do is to create a new Network_List file (button available in Visio).&lt;/P&gt;&lt;P&gt;Also be aware of that I have defined a direction for all links. Transport in this direction is called flow. Transport in the opposite direction is called reverse. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 31 May 2014 23:05:31 GMT</pubDate>
    <dc:creator>ronnywaage</dc:creator>
    <dc:date>2014-05-31T23:05:31Z</dc:date>
    <item>
      <title>Integration with Microsoft Visio</title>
      <link>https://community.qlik.com/t5/QlikView/Integration-with-Microsoft-Visio/m-p/627097#M230430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In one of our projects we made integration between Microsoft Visio and QlikView. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The short description is that we made a network model in Visio with nodes and links between the nodes. By clicking on a node we could see (in QlikView) which deliveries we had on the selected node and by clicking on a link in Visio we could see which deliveries flowing via this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a very simple integration where I have Visio on one screen and QlikView on the other screen. &lt;/P&gt;&lt;P&gt;But if this is of interest for other I can provide some more details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 May 2014 09:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Integration-with-Microsoft-Visio/m-p/627097#M230430</guid>
      <dc:creator>ronnywaage</dc:creator>
      <dc:date>2014-05-25T09:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Integration with Microsoft Visio</title>
      <link>https://community.qlik.com/t5/QlikView/Integration-with-Microsoft-Visio/m-p/627098#M230431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronny, I'm very interested to see how you implemented the details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 May 2014 10:22:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Integration-with-Microsoft-Visio/m-p/627098#M230431</guid>
      <dc:creator />
      <dc:date>2014-05-25T10:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Integration with Microsoft Visio</title>
      <link>https://community.qlik.com/t5/QlikView/Integration-with-Microsoft-Visio/m-p/627099#M230432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I will prepare a simple example for you next week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ronny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 May 2014 21:34:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Integration-with-Microsoft-Visio/m-p/627099#M230432</guid>
      <dc:creator>ronnywaage</dc:creator>
      <dc:date>2014-05-25T21:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Integration with Microsoft Visio</title>
      <link>https://community.qlik.com/t5/QlikView/Integration-with-Microsoft-Visio/m-p/627100#M230433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;I took some time to prepare the example and I may have added more complexity than you asked for but any way.&lt;/P&gt;&lt;P&gt;In short what I do to integrate Visio with Qlikview is as following:&lt;/P&gt;&lt;OL start="1"&gt;&lt;LI&gt;Create a macro in Visio to open an instance of my QlikView App&lt;/LI&gt;&lt;LI&gt;Create a macro in Visio to reload the qv document&lt;/LI&gt;&lt;LI&gt;Detect changes in selection in Visio and if change&lt;OL start="1"&gt;&lt;LI&gt;Find selected object&lt;/LI&gt;&lt;LI&gt;Decode object (find name)&lt;/LI&gt;&lt;LI&gt;Update variable in qv document&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The integration is to use variables in expressions in QVand then make Visio updating these variables.&lt;/P&gt;&lt;P&gt;This is not Visio specific. You could e.g. do the same in Excel. When a sheet is updated press a button to initiate a qv reload of changes in the Excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Private Sub cmd_QlikView_App_Start_Click()&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' ** Open QV with named document ***&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim vFilePath As String&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vFilePath = ActiveDocument.Path&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vFilePath = vFilePath &amp;amp; "Network_Test.qvw"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Debug.Print vFilePath&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set Qv = CreateObject("QlikTech.QlikView")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set QvDoc = Qv.OpenDoc(vFilePath, "", "")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Debug.Print vFilePath&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QvDoc.ActivateSheet "Transport"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set vsoWindow = ActiveWindow&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;End Sub&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Above is the macro to initiate the qv document and below is the macro to reload the initiated document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Private Sub cmd_QlikView_App_Reload_Click()&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '** Reload QV Document ***&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; QvDoc.Reload&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;End Sub&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I have attached 4 documents. &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Bookings:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Test case with transport orders and sales (Excel)&lt;/LI&gt;&lt;LI&gt;Network:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Admin page for remote access to QlikView and network model&lt;/LI&gt;&lt;LI&gt;Network_Test: QlikView test app&lt;/LI&gt;&lt;LI&gt;Network_List:&amp;nbsp;&amp;nbsp; The network model exported from Visio to a csv file.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution is not high quality or a professional integration, but more a rapid test of integration possibilities with QlikView. But the solution is generic so you can expend the network model and add nodes and links. The only thing you need to do is to create a new Network_List file (button available in Visio).&lt;/P&gt;&lt;P&gt;Also be aware of that I have defined a direction for all links. Transport in this direction is called flow. Transport in the opposite direction is called reverse. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 May 2014 23:05:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Integration-with-Microsoft-Visio/m-p/627100#M230433</guid>
      <dc:creator>ronnywaage</dc:creator>
      <dc:date>2014-05-31T23:05:31Z</dc:date>
    </item>
  </channel>
</rss>

