Qlik Community

Ask a Question

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Do More with Qlik - for Beginners and Beyond, Topic: Qlik Replicate on January 21, 2PM EST. REGISTER NOW
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calling Subs and functions

Hi All,

How do I call the functions and Subs written in another qvw file. 

Thanks and Regards

5 Replies

You can't. Unless you create a macro to launch a new instance of QV and load that document, and run those macros etc. which sounds pretty pointless.

Easiest way would be to copy across any macro you want to use.

Maybe if you explain what you actually want to achieve, someone can suggest a good approach.

Not applicable

Hi Johannes,

Thanks for your instant reply. I want to reuse the code written in some qvw file instead of copy the code. For this purpose Binary cannot be used?


Yes, I understand, but for what use? Why would it make sense to call another document instead of copying the function/sub over? Maybe there's a good reason that I'm not seeing

Not applicable

I have designed a template that will be shared across the customers. If I need to modify anything I can only modify the source qvw and ship the same to all the customers.


Ok, and what type of macro are you trying to run? (Also, you should still be able to put the macro in the template that you distribute?)