Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Capture a cancel button
Hi all,
I record a macro that unprotect a sheet and attached it to a form button. When i click the button the unprotect sheet (coming from the application) form appears. the problem is that if i click the 'Cancel' button the rest of my code is still executed.(this i want prevent). how can i trap the cancel event and prevent it from executing the rest of the code? Thanks in advance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Adding a cancel button | Excel Programming | |||
Cancel Button on Userform | Excel Programming | |||
InputBox - cancel button | Excel Programming | |||
Cancel button | Excel Programming | |||
Cancel Button | Excel Programming |