Hi
I want to use the buttons as an answer mechanism e.g. left button press =
Yes, right = No.
In lisp I used getpoint to test. if the return value was a point = yes.
I've tried that in VBA but I'm not getting very far. If the right button is
pressed the return value is Empty, but I don't know how to test for this.
This is as far as I've got (which is not very):
Sub LayerThaw()
Dim Pt1 As Variant
' On Error Resume Next
Pt1 = ThisDrawing.Utility.GetPoint(, "Left = Pick,Right= Dialogue")
If Pt1 Is Empty Then
Debug.Print "right button"
Else
Debug.Print "left button"
End If
End Sub
Any ides how, or is there a better way?
Thanks in advance
Dave