Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi I am running a macro that causes another macro to occur. This causes an
error. What I would like to do is run the macro while leaving all other macros disables until the current macro is finished executing. Any help would be appreciated. -- Thanks! Shane W |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Application.enableevents = false
Application.enableevents = true You should use an error handler with this type of code to ensure that in the case of crash the events are turned back on... -- HTH... Jim Thomlinson "whylite" wrote: Hi I am running a macro that causes another macro to occur. This causes an error. What I would like to do is run the macro while leaving all other macros disables until the current macro is finished executing. Any help would be appreciated. -- Thanks! Shane W |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ya I tried this coding and my macro still causing the program to crash. I
have a lot of cells that are being populated some with combo boxes. I managed to get the data to populate but the combo boxes remain blank. I am thinking that when the enable events gets turned is when excel crashes on me. -- Thanks! Shane W "Jim Thomlinson" wrote: Application.enableevents = false Application.enableevents = true You should use an error handler with this type of code to ensure that in the case of crash the events are turned back on... -- HTH... Jim Thomlinson "whylite" wrote: Hi I am running a macro that causes another macro to occur. This causes an error. What I would like to do is run the macro while leaving all other macros disables until the current macro is finished executing. Any help would be appreciated. -- Thanks! Shane W |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Workbook_BeforeClose(Cancel As Boolean) - Cancel won't work | Setting up and Configuration of Excel | |||
Cancel button to cancel the whole macro | Excel Programming | |||
Before print, cancel print and cancel copy/paste | Excel Programming | |||
Cancel Macro is user selects 'cancel' at save menu | Excel Programming | |||
Cancel Button | Excel Programming |