Although it’s part of a recorded macro to obtain the color number, is there anything else required in the VBA coding ?
It has to use the ActiveCell.Offset(0, -2) part because the Cell location is not constant, it is where it is at the time.
run time error 438- Object does not support this property or method
Application.DisplayAlerts = False
ActiveCell.Offset(0, -2).Color = 65535 ‘yellow
Thanks