Track Changes Formatting (Colors, Borders, etc.)

CT Witter

MrExcel MVP
Joined
Jul 7, 2002
Messages
1,212
I have enabled the track changes feature for my excel sheet and I am looking to do the following:

Modify the highlight color that excel uses. Many times it uses a color that is very hard to read.

What may be even better is to allow a pattern color to be set in the background.

How would I go about coding something like this? Is there a property that tells me that the cell has been modified?

Thanks,
CT
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

CT Witter

MrExcel MVP
Joined
Jul 7, 2002
Messages
1,212
I took another look at it and have come up with the following solution:

Sub HistoryColor()
Dim varsheet
Dim varrange
Dim Rng As Range
Dim c As Range
Dim varcolor

varcolor = InputBox("Select a Color Index Number.", "Color Selector", 6)
Application.ScreenUpdating = False
Sheets("History").Activate

Set Rng = Range("E1:E" & Range("E65536").End(xlUp).Row)
For Each c In Rng
If c.Value = "Cell Change" Then
varrange = c.Offset(0, 2).Value
varsheet = c.Offset(0, 1).Value
Sheets(varsheet).Activate
Range(varrange).Activate
With Selection.Interior
.ColorIndex = varcolor
.Pattern = xlSolid
End With
End If
Next c
Application.ScreenUpdating = True
End Sub

Maybe someone else has had the same problem.

CT
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,097
Messages
5,768,071
Members
425,452
Latest member
htay44

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top