ich möchte den inhalt zweier zellen vergleichen, dabei aber nicht auf groß- und kleinschreibung achten.
Geht das? Und wenn, wie?
Sub einlesen()
Dim SN As String
Dim x As Integer, y As Integer
x = 10
SN = Range("F2")
y = Cells(Rows.Count, 3).End(xlUp).Offset(1, 0).Row
Do
If SN = Sheets("Tabelle1").Cells(x, 13) Then
Exit Sub
Else
If x = y Then
Range("M" & y) = SN
Exit Sub
End If
x = x + 1
End If
Loop Until x > y
End Sub
Gruß+Dank
Marc