How can I assing values to a parameter from a VBA funtion from a Zenon Element?
I want to use a Funtion with 2 parameters when the user click in a Funttion. I
How can I assing values to a parameter from a VBA funtion from a Zenon Element?
I want to use a Funtion with 2 parameters when the user click in a Funttion. I
Hi q1883,
Passing user parameters is possible through the zenon function to execute a VBA macro. For moduleElement events for a button for example, you can access the object and object properties and dynproperties when the event is called to extract information from the element as parameter. This way you can for example change the function parameters, based on the element name of the button.
Best regards,
Mark