10 Replies Latest reply: Jan 24, 2013 2:27 AM by Anju Gopinath RSS

    Execute Macro to Reload documents on Server

    Luca Jonathan Panetta

      Hi guys,

      I must to write a macro that start the reload of an other document e.g. :

      Doc A contains a macro that reload the Document B.


      sub Reload()
      'Macro in Doc A
      Dim WshShell
      Set WshShell = CreateObject("WScript.Shell")
      Set oExec = WshShell.Exec("C:\Program Files\QlikView\Qv.exe /r D:\Test Reload\ExternalReload.qvw")
      Set WshShell = nothing
      Set oExec = nothing
      end sub






      My macro run correctly on local client but if I put the documents on server and open they by remote connection the reload do not work.

      Somebody know how can I doing this?
      Is possible to write a macro that can be execute on server and not on client when I open a document from remote connection?


      Thanks in advance

      Luca Jonathan Panetta

      PLJ Software