AnsweredAssumed Answered


Question asked by aharon on Aug 14, 2018
Latest reply on Aug 16, 2018 by jjohl

Im having troble with the macro/vba script portion of the final project.


Im simply trying to create a button that when clicked will bring up my trend


I right clicked on my trend and set the visible property to false.


I then added a button to my display called Show Trend.


I then went to tools-->macros  and created a macros called Button


I then put in the following code




Private Sub Button()


ThisDisplay.Trend1.Visible = True


End Sub




When I run the program and click the button I get a "Failed to execute OS command Button"


Im definitely not a programmer and ive spent far too much time on something simple so im hoping you can help