Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 127
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 747
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How stop the "started office live" pop-up to stop. it is checked yrose24 Excel Discussion (Misc queries) 1 September 2nd 09 03:32 PM
data reentry for ferification Kristen Excel Worksheet Functions 3 July 14th 06 03:18 PM
How do I stop other circles in other cells to stop selecting? stauff Excel Worksheet Functions 2 October 29th 04 09:02 PM
How do I stop other circles in other boxes to stop selecting? stauff Excel Worksheet Functions 1 October 28th 04 10:27 PM
Macro: With Stop it works. Without Stop it doesn't. Don Wiss Excel Programming 2 October 12th 04 10:49 AM


All times are GMT +1. The time now is 02:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"