Hi Hood
I have a macro like this below , where the error (Art Code:8877) occurs when changing the value of INPUT1.
Can you see anything wrong?
Thanks
Nemo
*************************
Dim Value as boolean
Value = IsActive(INPUT1)
If Value = True Then
Code "(Ativado)"
Code "M8"
Code "G04 P2.5"
Code "M9"
Code "G04 P1"
Code "( )"
Else
Do
Value = IsActive(INPUT1)
If Value = False then
Code "(Pneumatico Desativado)"
Else
Code "(Ativado)"
Code "M8"
Code "G04 P2.5"
Code "M9"
Code "G04 P1"
Code "( )"
Exit Do
End If
Loop
End If
Exit Sub