If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Macro to delete White color Text

Hi Guys,

The below coding deletes the whole cell when it contains white color text.

Code:

Sub Try_This_A()
Dim c As Range, wsh As Worksheet
For Each wsh In ActiveWorkbook.Worksheets
For Each c In wsh.Range("A1").CurrentRegion
If c.Font.Color = RGB(255, 255, 255) Then c.ClearContents
Next c
Next wsh
End Sub

Whereas, How to Delete the White color Text, when it is partially in the cell?