Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
seems I can't get an IF statement based upon the response from a msgbox
function This is what I have Code:
MsgBox "This will delete all information on this caller" & vbLf & _ "Are you sure you want to do this", vbYesNo If vbYesNo = Yes Then Me.FirstName.Value = "" Me.LastName.Value = "" Me.Caller.Value = "" Else Exit Sub End If Me.Status = 4 DoCmd.Close should the IF statement be true/false or 0/1 instead of Yes/No? Is the MsgBox written wrong? Any help here will be appreciated. Thanks in advance dave |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If statment | Excel Discussion (Misc queries) | |||
if statment | Excel Worksheet Functions | |||
IF Statment | Excel Worksheet Functions | |||
Help with If statment | Excel Discussion (Misc queries) | |||
if statment | Excel Worksheet Functions |