Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.newusers,microsoft.public.excel.programming
|
|||
|
|||
![]()
One way:
You can get the cell reference from the Worksheet_Change() event's Target argument: Private Sub Worksheet_Change(ByVal Target As Excel.Range) With Target If .Address(False, False) = "A1" Then .Value = x ' "do some work on it" .Offset(0, 3).Value = y ' "update some cells on the same row" End If End With End Sub In article , feebo wrote: I have a specific problem that i would welcome comment or advice on: I have a worksheet that may or may not have a value entered ina specific cell. When a value is entered I need to grab that, do some work on it and update some cells on the same row. How on earth do I grab the reference for the cell that just changeds and how do i pick from that the row in order to address the cells further along. This sounds pretty basic but I have been scratching my head for two days now and can't seem to find a solution when googling - most likely I just can't get the wording right - I get loads of stuff but none of it really suits what i'm after.... HELP!!! |