Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If MsgBox("Macro1 Is about to launch. Continue?", vbYesNo) = vbNo Then
Exit Sub Charles Chickering UA_Jeremy wrote: So, I find myself accidentally running macros. I have about 20 setup on my laptop. this usually occurs when I'm using the keyboard with 'ctrl'. Since, you can't undo a macro this is a big problem for me. So, I want to add some code to my macros that will make a messabe box pop-up and ask me if I want to run the macro. If, I select 'yes' then the macro runs as normal; if 'no', then the macro ends. Can anyone help? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If I have my sheets protected will that prevent me running a macro to hide certain sells? | Excel Worksheet Functions | |||
SHIFT doesn't prevent macro from running at startup | Excel Programming | |||
unintentionally changing SS | Excel Discussion (Misc queries) | |||
Prevent A Macro From Running If SpreadSheet is Filtered | Excel Worksheet Functions | |||
Prevent running macro upon closing Excel | Excel Programming |