Skip to main content
cancel
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
Anonymous
Not applicable
Author

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
Author

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?

Anonymous
Not applicable
Author

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
Author

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.

Anonymous
Not applicable
Author

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?)