hello all I have a program which compairs 2 files (exported from Adobe)(on two sheets) and then conditionally highlights the differences. The problem is it highlights the "blank"/"empty" cells even if they are the same. I assume that they are not "blank/empty" because they have a border? Or maybe the export is adding something there? I have tried to right another code to find those cells and delete the formatting, but I am stuck as I am unaware how to find those specific cells? I have verified that they are not empty by using isblank AND isempty, which both return false. I have placed a snip of the code I have tried below:
VBA Code:
Set rng = sht.Range(StartCell, sht.Cells(LastRow, LastColumn))
'***needs to delete out cells with no text, doesn't work***
Worksheets("Table 1").Activate
Dim C As Range
'start of the for loop to check for filled fields
For Each C In rng
If IsEmpty(C) Then
GoTo nextc
Else
C.FormatConditions.Delete
End If
nextc:
Next C
'*****************************************************'