If you are sure that the content of a cell is equal in terms of string
or value, formating, formula, etc. then this may work... If you want
to just find out if they are equal in content string regardless of
letter case, you may use ...
If ucase$(Cells(1, 1).text) = ucase$(Cells(2, 1).text) Then
MsgBox "They are equal"
End If
If you jsut want to compare value then you may use the following:
If Cells(1, 1).Value = Cells(2, 1).Value Then
MsgBox "They are equal"
End If
I hope this helps.
Selva V Pasupathy
For more on Excel, VBA, and other resources
Please visit:
http://socko.wordpress.com