AnsweredAssumed Answered

Value1_update() object required error

Question asked by d_jacobson on Jul 10, 2015
Latest reply on Jul 11, 2015 by Rhys Kirk

I keep getting the object required error. I have placed the circle onto the page already (it is Ellipse12). Is there any way to change this without adding the object directly from the VBA coding? Eventually I am going to put an object attached to the circle that is attached to the tag at Value1, and wil want to update its location.
'
'
'Reruns Main() after deleting old vectors (Phase A Voltage Magnitude Update)
'
Private Sub Value1_DataUpdate()

    Main
   
End Sub

'
'
' Main function.
' Function defines parameters, adds circle, and adds vectors.
'
Private Sub Main()

'Define parameters
scaler = 1
radius = (Ellipse12.top - Ellipse12.Height) / 2
circ_top = Ellipse12.top
circ_left = Ellipse12.left

 

End Sub

Outcomes