conditional formating when cell value changes original

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I use conditional formating or another function to indicate when the
original cell value has been edited or changes?

Example: I have a spreadsheet with values that must be edited when I receive
new value. Later I must know which values have changed so I can transmit them
to the central office.
Thanks for any help you can provide.
 
Private Sub Worksheet_Change(ByVal Target As Range)

On Error GoTo ws_exit
Application.EnableEvents = False

With Target
.Interior.ColorIndex = 38
End With

ws_exit:
Application.EnableEvents = True
End Sub

'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Back
Top