Different msgbox depending on respones

  • Thread starter Thread starter glgraphics
  • Start date Start date
G

glgraphics

Guest
Is there a way to have a different message box pop up depending on a "Yes" or "No" response? I have a message response that pops up now, but does so no matter what the response is.
 
is this the kind of thing you mean ?

Dim answer
answer = MsgBox("?", vbYesNo)

If answer = vbYes Then
MsgBox "a"
else
msgbox "b"
end if
 

Users who are viewing this thread

Back
Top Bottom