LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Simple message Yes No...


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...
figure this is a basic step I am missing...I am trying to get a messag
button to go forward with the Macro Account_undo if yes and if n
end...don't execute...

I appreciate your help

--
jmhad
-----------------------------------------------------------------------
jmhadp's Profile: http://www.excelforum.com/member.php...fo&userid=2534
View this thread: http://www.excelforum.com/showthread.php?threadid=38819

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
#VALUE! error message in simple sum function Sandog Excel Worksheet Functions 4 July 29th 08 06:59 PM
IF formula-simple question; simple operator Rich D Excel Discussion (Misc queries) 4 December 6th 07 03:36 PM
Simple message box question zeyneddine Excel Discussion (Misc queries) 4 August 23rd 06 06:08 PM
Simple message box question zeyneddine Excel Discussion (Misc queries) 1 August 14th 06 08:23 PM
Simple Checkbox Message Code nemadrias Excel Discussion (Misc queries) 10 June 21st 06 08:59 PM


All times are GMT +1. The time now is 08:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"