TheSwamp
Code Red => VB(A) => Topic started by: ronjonp on October 26, 2004, 09:44:50 AM
-
I'm trying to setup a vba routine to set variables. How do I go about error trapping if the variable can't be set to a value or it does't exist?
Public Sub setvariables()
ThisDrawing.SetVariable "apbox", 1
ThisDrawing.SetVariable "attdia", 1
ThisDrawing.SetVariable "attmode", 1
ThisDrawing.SetVariable "auditctl", 0
End Sub
Thanks,
Ron
-
On Error GoTo 'label'