I am trying to write a macro that if I click on a cell than run the macro that the cell will turn red or green. I think that I will have to run two macro's named turnred and one turngreen. I tried to record the actions to do this but I did not get the results that I sought. Is it possible to do this?
Code:
Sub turnRed()
Range("D63").Select
Application.CutCopyMode = False
Selection.Copy
Range("D77").Select
Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
End Sub