Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This might work
If MsgBox("Click yes to proceed or no to cancel", vbQuestion + vbYesNo) < vbYes Then MsgBox ("you clicked no") 'do nothing Else MsgBox ("you clicked yes") 'do something End If "Leigh Douglass" wrote: Hi I have a macro assigned to a button on my spreadsheet, but I would like to have a confirmation box pop up asking the user if they are sure they want to proceed. Obviously i need the pop up to proceed with running the macro if they choose yes and to stop the macro if they choose no. Thanks for any advice. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Confirmation Security | Excel Worksheet Functions | |||
A question about the confirmation | Excel Discussion (Misc queries) | |||
Confirmation box | Excel Programming | |||
Secret Code for Confirmation | Excel Worksheet Functions | |||
Getting rid of confirmation boxes | New Users to Excel |