باسلام
دوستان تو این مورد :
ارور type mismatch میده !!! مشکل از کجاست؟
دوستان تو این مورد :
کد PHP:
For i = 1 To tedad_mahsol
Set h = Cells(4 + i, 13)
Set hh = Range(Cells(4, 7), Cells(4 + tedad_mahsol, 6))
Set hhh = Range(Cells(4, 2), Cells(4 + tedad_mahsol, 2))
hhhh = Application.Lookup(h, hh, hhh)
shomare_mahsol2 = Application.WorksheetFunction.Match(hhhh, hhh, 0)
MsgBox shomare_mahsol2
MsgBox hhhh
Next
کامنت