Using a basic white color method to hide cell values I can successfully use this code to show (change color to black) the text inside a cell:
Now i wonder how to "restore" white color back for the cell contents after deselect?
Also is it possible to change the text color to white (or to replace the text with something else) immediately after the input?
HTML:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Font.ColorIndex = 2 Then
Target.Font.ColorIndex = 1
End If
End Sub
Also is it possible to change the text color to white (or to replace the text with something else) immediately after the input?
Last edited: