Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Calling macro outside the qvw file, is it supported? If yes please suggest how to call, if my macro code reside in a text file.
Thanks in advance.
Interesting question. In theory, it should be possible, with some limitations and a little complexity:
I am curious why you would want to do this. It is unfortunately not a practical way to 're-use' the code.
Jonathan
Hi,
You can run VBScript externally to QlikView, no problem.
You need to createobject to QlikTech.QlikView. This will open QlikView if it is not open.
Note that you will need to have a named user CAL for this to work on your files.
For example:
Dim Application
Set Application=CreateObject("QlikTech.QlikView")
Application.OpenDoc "C:\temp\test.qvw"
Regards,
Stephen