Good Evening,
now i made an array.
I put my offset values in an array but so far theres a type mismatch
I cant seem to work out why?oSearch = Array("A", "B", "C", "D") oReplace = Array("i-5", "i-3", "i-9", "i-4") For i = LBound(oSearch) To UBound(oSearch) For Each oCell In ThisWorkbook.Worksheets("Test").Range("K1:K10").Cells oCell.Replace What:=oSearch(i), Replacement:=oCell.Offset(, oReplace(i)).Value Next oCell Next i End Sub