Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.

Events in VBA

Is it possible to let VBA makes new events in event table and how.

 

Bets regards klaus   image

Best Regards

Klaus Soenderhegn
www.cadalysator.dk

Comments

  • Hello Klaus,

    What you are asking for is not possible in the way I believe you mean. You cannot program VB-code to effect the EventTable.

    What is possible though is to connect VB-events to ClassObjects, for example:

    Private Sub Station_Close()
        MsgBox "goodbye"
    End Sub

    Add the above to a station project, then close the station...

    Hope this gives some input, to your work.

    Best regards

    /Ulrika Mor?n

    Support Engineer

     

     

  • Check also out how to use IO events in the topic "read output in VBA"
    /Martin Lundh
    Product manager
    ABB Robotics