can you please help me in my code
MsgBox "Are you sure you want to Logout?", vbYesNo, "Confirmation" If vbYes Then Unload Me frmAuthentication.Show End If
how can i have 2 choices example i want vb no and just stay with my form help me..
You need to use the same variable for the return value as well as the test. You used `responce` to save the result but your test uses `reply`. Another possibility would be If MsgBox("Are you sure you want to Logout?", vbYesNo, "Confirmation") = vbYes Then Unload Me frmAuthentication.Show else exit … Read More
Edited by Christian_4: jejeje
Edited by Reverend Jim: Already answered, and your code won't work.
Edited by Reverend Jim