Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi everybody,
I need to trigger a macro after I update an autofilter list. (excel 2000) I read about the Worksheet Calculate and Worsheet Change events here and I am using it. The problem is that part of my macro makes some changes in the worksheet and therefore it runs in an eternal loop. Does anybody have a suggestion to solve this problem? Thanks in advance Gustavo |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Beto....it works great!
Gustavo -----Original Message----- Gustavo wrote: Hi everybody, I need to trigger a macro after I update an autofilter list. (excel 2000) I read about the Worksheet Calculate and Worsheet Change events here and I am using it. The problem is that part of my macro makes some changes in the worksheet and therefore it runs in an eternal loop. Does anybody have a suggestion to solve this problem? Hi, you need to disable the events and then enable them after your macro is run. Application.EnableEvents = False ' Your macro goes here Application.enableEvents = True -- Beto Reply: Erase between the dot (inclusive) and the @. Responder: Borra la frase obvia y el punto previo. . |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Gustavo wrote:
Hi everybody, I need to trigger a macro after I update an autofilter list. (excel 2000) I read about the Worksheet Calculate and Worsheet Change events here and I am using it. The problem is that part of my macro makes some changes in the worksheet and therefore it runs in an eternal loop. Does anybody have a suggestion to solve this problem? Hi, you need to disable the events and then enable them after your macro is run. Application.EnableEvents = False ' Your macro goes here Application.enableEvents = True -- Beto Reply: Erase between the dot (inclusive) and the @. Responder: Borra la frase obvia y el punto previo. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help with worksheet event | Excel Worksheet Functions | |||
Turn off calculate event | Excel Discussion (Misc queries) | |||
SheetChange event starts before .calculate finished | Excel Programming | |||
SheetChange event starts before .calculate finished | Excel Programming | |||
macro to apply worksheet event to active worksheet | Excel Programming |