Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to Stop ReEntry
Excel 2003. I have a control (combo box) call JD on one of my sheets. I
have a subroutine that runs whenever the control changes (JD_Change). Thie code in JD_Change makes some updates to the sheet (like writing data into some cells). Everytime data is written to a cell on the page it triggers the JD_Change event and the JD_Change routine is reentered (while it is still running from the last change event). How may I keep the change events from being reentered? Thanks for the help. -- Dr. Doug Pruiett Good News Jail & Prison Ministry www.goodnewsjail.org |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to Stop ReEntry
Without having first hand knowledge,
Try using the click event rather than the change event. -- Regards, Tom Ogilvy "Chaplain Doug" wrote in message ... Excel 2003. I have a control (combo box) call JD on one of my sheets. I have a subroutine that runs whenever the control changes (JD_Change). Thie code in JD_Change makes some updates to the sheet (like writing data into some cells). Everytime data is written to a cell on the page it triggers the JD_Change event and the JD_Change routine is reentered (while it is still running from the last change event). How may I keep the change events from being reentered? Thanks for the help. -- Dr. Doug Pruiett Good News Jail & Prison Ministry www.goodnewsjail.org |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to Stop ReEntry
I can only replicate this affect if the sub procedure changes cell(s) within
the control's ListFillRange and/or the control's LinkedCell is within the ListFillRange. This is logical because changing a cell within the ListFillRange changes the contents of the control's list which elicits the change event again. Regards, Greg Wilson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How stop the "started office live" pop-up to stop. it is checked | Excel Discussion (Misc queries) | |||
data reentry for ferification | Excel Worksheet Functions | |||
How do I stop other circles in other cells to stop selecting? | Excel Worksheet Functions | |||
How do I stop other circles in other boxes to stop selecting? | Excel Worksheet Functions | |||
Macro: With Stop it works. Without Stop it doesn't. | Excel Programming |