E
EagleOne
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
MsgBox "Range " & Target.Address & " was changed."
End Sub
Using the above Sub:
Facts: Range("A1:A5") values have been changed
Goal: Need VBA to change Range("H1:H5") with Now()
Challenge: What if more than one cell is changed?
In short, if Target.Address = Range("A1:A5, A8")
What VBA code would change Target.Address Rows 1,2,3,4,5,8 but same rows in Column "H"?
TIA EagleOne
MsgBox "Range " & Target.Address & " was changed."
End Sub
Using the above Sub:
Facts: Range("A1:A5") values have been changed
Goal: Need VBA to change Range("H1:H5") with Now()
Challenge: What if more than one cell is changed?
In short, if Target.Address = Range("A1:A5, A8")
What VBA code would change Target.Address Rows 1,2,3,4,5,8 but same rows in Column "H"?
TIA EagleOne