Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to use a Private Sub Worksheet_Change event macro to change the
value of cell g12 when theres a change to cell a3, and when cell g6 = 1. Cell a3 is itself the cell link of a combo box (created from the Forms toolbar). I know that this kind of macro only works under some circumstances, but is this one of them? My code is: Private Sub worksheet_change(ByVal target As Range) If Not Intersect(target, Me.Range("a3")) Is Nothing Then If Range("g6").Value = "1" Then Range("g12").Value = "8" End If End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Special Private Character Question | Excel Discussion (Misc queries) | |||
Question about private subs | Excel Programming | |||
Private Textbox Exit Sub question... | Excel Worksheet Functions | |||
Private Function Code Change | Excel Programming | |||
Private Sub Workbook Open() - question | Excel Programming |