Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I've found out that worksheet change will not pick up when my cell changes
(the cell is linked by DDE to another application). So I'm picking up the change using worksheet calculate, but the procedure is repeatedly calling itself, despite me using Application.EnableEvents to disable the events during the procedure. Add_new_record is the procedure that keeps being repeated, but I only want it to run once. Any ideas? Here is the code; Sub Worksheet_Calculate() If Range("Q1").Value = "1" Then Application.EnableEvents = False Add_new_record End If Application.EnableEvents = True End Sub Thanks, Craig. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
CALLING MACROS FROM A NEW WORKSHEET | Excel Discussion (Misc queries) | |||
calling macros from worksheet to another | Excel Discussion (Misc queries) | |||
Print a worksheet repeatedly with each list cell | Excel Discussion (Misc queries) | |||
calling up information from a different worksheet. | Excel Worksheet Functions | |||
Calling a macro in another worksheet | Excel Programming |