Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm using Excel 2003 and writing some VBA code to validate cell contents.
I'm using the "Worksheet_Change" event to trap when a user modifies the contents of a cell ($1:$D). If the contents are invalid I want to display a message in another cell ($1:$C). While stepping through the code I find the event fires fine, and using the following code my display cell populates fine: Me.Cells(intRow, 3) = strErrorMessage And I can see this new text on the screen. However, once that text is applied again, the "Worksheet_Change" event fires again. The text remains in there until the end of the first call to the event, then it clears out. Is anyone aware of a problem modifying the contents of other cells, while in the middle of the "Change" event of another? Anyone know a work around? Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to run an event upon changing the value of a specific cell? | Excel Worksheet Functions | |||
Cell value change to trigger macro (worksheet change event?) | Excel Programming | |||
Change Cell from Validated List Not Firing Worksheet Change Event | Excel Programming | |||
Change a cells text by another cell changing. | Excel Programming | |||
click event for changing cell color | Excel Programming |