اخي وليد المصرى 1
اسف علي التأخير
تفضل تطابق ارقام.xlsm
هذا الكود المستخدم
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim m As Integer
m = 7
Do While Cells(m, "b") & Cells(m, "h") <> ""
If Cells(m, "b") & Cells(m, "h") >= 1 Then
Application.ScreenUpdating = False '
Cells(m, "g") = _
"=IF(RC[-5]&RC[1]="""",""No "",IF(RC[-5]-RC[1],""Can Extension"",""DONE""))"
Cells(m, "g") = Cells(m, "g").Value
Else
Cells(m, "K") = ""
End If
m = m + 1
Loop
Application.ScreenUpdating = True
End Sub