Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cancelling a macro
Hi there,
A few years back I use to write macros, and had some standard code or functon that would not run the macro if the macro would generate an error. Thus no macro actually ran as opposed to half a macro running and then causing an error. I seem to recall it was relatively easy to do, but can no longer remember for the life of me how to do. It wasn't undoing a macro. Simply not running it if it would crash. Any help is greatly appreciated. Naive |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Cancelling a macro
Hi, there are a number of "On Error" options that you could look at.
One being "On Error Exit Sub". HTH--Lonnie M. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Cancelling AutoFilter in a macro | Excel Programming | |||
Stop my references cancelling | Excel Discussion (Misc queries) | |||
Cancelling out of an incorrect Replace all | Excel Discussion (Misc queries) | |||
end Macro after cancelling open dialog | Excel Programming | |||
Cancelling the BeforeClose Event | Excel Programming |