Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to write an event to change the value in a cell after the cell
above it is changed to a certain value. Both cells are validation lists, and the lists in the second cell are dependent on the value in the first cell. All the rest of the data in the sheet (thousands of cells) are related to these cells, and it seems that this recalculation stops the change event. The code: Private Sub Worksheet_Change(ByVal Target As Excel.Range) If Target.Address = "$B$1" Then Application.EnableEvents = False Application.Calculation = xlCalculationManual If Target.Value 30 Then Range("B2").Value = "Fillet Root Side" End If Application.EnableEvents = True Application.Calculation = xlAutomatic End If End Sub The code works great on a test sheet. I can't understand why it doesn't work in the sheet with all the data. Can anyone provide a solution or workaround? Thanks, Pflugs |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Worksheet Change by Value problem | Excel Discussion (Misc queries) | |||
Problem w/ worksheet change event | Excel Programming | |||
Worksheet Change Event Problem | Excel Programming | |||
Change Cell from Validated List Not Firing Worksheet Change Event | Excel Programming | |||
Worksheet Change Sub problem | Excel Programming |