Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a snippet of code attached to a clickable button that emails a
workbook to a specified address. However, I would like a confirmation box to pop up asking for confirmation before this action is taken. I've gotten as far as: Dim response As Long response = MsgBox(prompt:="Are you sure you would like to submit?", Buttons:=vbOKCancel) Now, when OK is clicked, the form executes as it should. But, if I click cancel, the button still executes. How do I program it to do nothing and return to the form I was just using, taking no action, if cancel is clicked? Thanks... |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Input Box - CANCEL | Excel Worksheet Functions | |||
Save - Yes / No / Cancel | Excel Discussion (Misc queries) | |||
cancel input | Excel Discussion (Misc queries) | |||
can I cancel a save | Excel Discussion (Misc queries) | |||
Read Only - How to Cancel? | Excel Discussion (Misc queries) |