Message boxes

C

Colin Foster

Hi,
I want to set up a message box which if "Yes" is clicked a further message
is displayed with a single "OK" button and if "No" is clicked a different
message appears.
Any suggestions?
Regards
Colin Foster
 
R

Rick Brandt

Colin Foster said:
Hi,
I want to set up a message box which if "Yes" is clicked a further message
is displayed with a single "OK" button and if "No" is clicked a different
message appears.
Any suggestions?
Regards
Colin Foster

If MsgBox("Some Message", vbYesNo) = vbYes Then
MsgBox "Another Message Box"
Else
MsgBox "Yet Another Message Box"
End If
 
C

Colin Foster

Excellent :)
Easy when you know how! I'd almost got there myself, but had got the If/Then
bit confused.
Many thanks for your help
Regards
Colin Foster
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top