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

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
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
 
Upvote 0

Forum statistics

Threads
1,214,581
Messages
6,120,368
Members
448,957
Latest member
BatCoder

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
Back
Top