How can I make a dialogue box pop up with a notice to user?

G

Guest

I need to have a dialogue box come up with a note to the user when certain
conditions apply. I know how to create a macro that will run when the
conditions apply, I just don't know how to create the dialogue box that will
appear. Thanks in advance.
 
N

Norman Jones

Hi Carl,

'=============>>
Public Sub Tester()

MsgBox Prompt:="Your message", _
Buttons:=vbInformation, _
Title:="MESSAGE"
End Sub
'<<=============
 
G

Guest

Thanks! Worked perfectly!

Norman Jones said:
Hi Carl,

'=============>>
Public Sub Tester()

MsgBox Prompt:="Your message", _
Buttons:=vbInformation, _
Title:="MESSAGE"
End Sub
'<<=============
 

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