GoTo Account_undo
You do not have a line label named "Account_undo" in your procedure.
Tim
--
Tim Williams
Palo Alto, CA
"jmhadp" wrote in
message ...
Below is my attempts at basic VB
Dim lngUserChoice As Long
lngUserChoice = MsgBox("Do you want to Undo last entry?", _
vbYesNo + vbQuestion, "Undo Last Entry")
If lngUserChoice = vbYes Then
GoTo Account_undo
If Response = vbNo Then GoTo Bye
End If
End Sub
I am getting an error message Compile Error: Label Not Defined...I
figure this is a basic step I am missing...I am trying to get a message
button to go forward with the Macro Account_undo if yes and if no
end...don't execute...
I appreciate your help.
--
jmhadp
------------------------------------------------------------------------
jmhadp's Profile:
http://www.excelforum.com/member.php...o&userid=25340
View this thread: http://www.excelforum.com/showthread...hreadid=388196