I have been asked to remove a one-line UDF() from a workbook to facilitate moving the workbook to a macro free environment. The UDF() compares two cells "as formatted":
Public Function fEXACT(r1 As Range, r2 As Range) As Boolean
fEXACT = (r1.Text = r2.Text)
End Function
I don't care about the font, alignment, etc. If it matters, the target environment will be Excel 365. Neither:
=D3=E3
=EXACT(D3,E3)
work. Is there a formula replacement for the UDF() ??