pesquisa curinga vba na célula
Estou tentando encontrar algo com uma pesquisa curinga em um valor de célula. Se o valor no intervalo da planilha ("FC") ("I2: I" e LastRowC) - corresponder às folhas ("Instr"), intervalo ("A130: A190"). significa folha Instr match se alguns caracteres coincidirem com o outro intervalo mencionado acima, então faça algo código.
por exemplo, na folha Instr acima do intervalo, o valor da célula é "Ajith" e na folha FC acima do intervalo mencionado, um dos valores da célula é "Aji", o código deve identificá-lo.
Todas as etapas abaixo são válidas para mim, exceto a pesquisa de caracteres curinga no intervalo de loop, por favor, siga o código e o intervalo (renomeie as folhas, se necessário, conforme abaixo) e forneça uma atualização.
Sub Exception()
Dim mfc As Worksheet
Dim mfp As Worksheet
Dim mfo As Worksheet
Dim instr As Worksheet
Set mfc = Sheets("FC")
Set mfp = Sheets("FP")
Set mfo = Sheets("OSLR")
Set inst = Sheets("Instr")
Dim irng As Range
Dim icel As Range
Set irng = inst.Range("A130:A190")
Dim LastRowC As Long
LastRowC = mfc.Cells(Rows.Count, 1).End(xlUp).Row
Dim fcphr As Range
Dim fcphc As Range
Set fcphr = mfc.Range("I2:I" & LastRowC)
For Each icel In irng.Rows
For Each fcphc In fcphr.Rows
If icel.Value = "" Then
Exit For
End If
If fcphc.Value = "" Then
Exit For
End If
If fcphc.Value = icel.Value Then
msgbox fcphc
msgbox icel
'***(i need a wild card search for the above step)***
End If
Next fcphc
Next icel
End Sub