Jun 24, 2002 #1 Guest_imported New member Joined Jan 1, 1970 Messages 0 Can anyone tell me the code for the msgbox vbyesno to appear and to do a different action on when the user clicks yes or no Thanks Paul
Can anyone tell me the code for the msgbox vbyesno to appear and to do a different action on when the user clicks yes or no Thanks Paul
Jun 24, 2002 1 #2 Mongooses Programmer Joined Oct 15, 2000 Messages 110 Location US Dim iResp as Integer iResp = MsgBox("Message", vbYesNo, "Title" If iResp = vbYes Then ...... Else 'iResp = vbNo ...... End If HTH, JC Upvote 0 Downvote
Dim iResp as Integer iResp = MsgBox("Message", vbYesNo, "Title" If iResp = vbYes Then ...... Else 'iResp = vbNo ...... End If HTH, JC