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