Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thomas,
Paste the following code in the code pane for the worksheet (press ALT+F11 in Excel and click on Sheet1 in the VB Project Explorer): Private Sub Worksheet_Change(ByVal Target As Range) If Target.Address = Range("B1").Address Then If Target.Value = "YES" Then If Not Range("A1") <= 0 Then Range("A1") = Range("A1").Value - 1 End If End If End Sub This should do it. Good luck. E. Froma |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
cell auto-updating | Excel Worksheet Functions | |||
Updating an Auto-Filter depending on cell value | Excel Worksheet Functions | |||
Cell formula not updating, auto calc on, over 100 sheets | Excel Discussion (Misc queries) | |||
Cell showing the time auto updating | Excel Discussion (Misc queries) | |||
auto updating cell values | Excel Programming |