Highlighting changes to a spreadsheet in a differing STYLE

G

Guest

Can anyone help with the following query:
I am trying to highlight the data entered during a week in a different
colour to the normal default black.
I have added a new STYLE but that only allows application to a set range of
cells, but i want to be able to overkey existing data as well as enter NEW
data and all the amendments are in a new colour say RED
I have looked at TRACK CHANGES too but this just adds a flag and doesnt
really HIGHLIGHT the change
Please help us sad people
Thanks
 
T

toby.r.allen

Press Alt + F11 to get to the Visual Basic Editor
On the left hand side, find the file you're working on, and double
click on ThisWorkbook
Its code window will open up.
Insert the following lines of code:

Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As
Range)
Target.Font.ColorIndex = 3
End Sub

Now, whenever you edit a cell, its font color will become red.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top