Showing results 1 to 2 of 2

Thread: Zenon parameter inVBA script

  1. #1
    Join Date
    05.08.2019
    Posts
    2

    Default Zenon parameter inVBA script

    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

  2. #2

    Default Re: Zenon parameter inVBA script

    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

Similar Threads

  1. VBA script on touch screen
    By arpi in forum VBA
    Replies: 2
    Last Post: 14th July 2014, 07:26
  2. Pass parameter value to the script
    By sabbonis in forum VBA
    Replies: 1
    Last Post: 10th March 2014, 02:02
  3. Script in Vsta aufrufen
    By armins in forum VSTA
    Replies: 1
    Last Post: 27th June 2013, 23:46
  4. VB script bug on client
    By anemet in forum zenon Network
    Replies: 8
    Last Post: 23rd August 2012, 23:42
  5. Replies: 3
    Last Post: 17th October 2008, 12:43

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •