I am using Excel 2010 and cleaning up some data and I have two cells that appear the same but when I compare ActiveCell to ActiveCell.Offset(1,0) they do not match.
When I broke it down I found the mid string that did not match and I got its value using
SndChr = Asc(Mid(ActiveCell.Offset(1, 0), StrVal, 1))
And this returned a value of 63.
I thought I was home free and I could search the string for Chr(63) but it does not find it.
If InStr(1, Cells(x, 1), Asc(63)) > 0 Then
Where am I going wrong?
When I broke it down I found the mid string that did not match and I got its value using
SndChr = Asc(Mid(ActiveCell.Offset(1, 0), StrVal, 1))
And this returned a value of 63.
I thought I was home free and I could search the string for Chr(63) but it does not find it.
If InStr(1, Cells(x, 1), Asc(63)) > 0 Then
Where am I going wrong?