ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Message Box (https://www.excelbanter.com/excel-discussion-misc-queries/21436-message-box.html)

Greg

Message Box
 
I have forgotten how to get a message box to appear

I want a message box to confirm the information with a yes no buttonand the
message "Are you sure the Information is correct?"


Thanks

Greg



JulieD

Hi Greg

along the lines of

response = msgbox("Are you sure the information is
correct?",vbyesno,"Check!!!)

or
if msgbox("Are you sure the information is correct?",vbyesno,"Check!!!)
=vbyes then
msgbox "Goodbye"
End if

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Greg" wrote in message
...
I have forgotten how to get a message box to appear

I want a message box to confirm the information with a yes no buttonand
the
message "Are you sure the Information is correct?"


Thanks

Greg






All times are GMT +1. The time now is 04:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com