DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Emr()
For i = 2 To 20
If Cells(i, "B") <> "" Or Cells(i, "E") <> "" Then
Cells(i, "A") = 1
End If
Next
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Dim i As Long, say As Long
If Intersect(Target, [B2:B40000,E2:E40000]) Is Nothing Then Exit Sub
Application.ScreenUpdating = False
Range("A2:A" & Rows.Count).Cells.ClearContents
say = 1
For i = 2 To Selection.SpecialCells(xlCellTypeLastCell).Row
If Cells(i, "B") <> "" Or Cells(i, "E") <> "" Then
Cells(i, "A") = say
say = say + 1
End If
If say = 21 Then GoTo cık
Next
cık:
Application.ScreenUpdating = True
End Sub
Dönüş yaptığınız için teşekkür ederim.Çalıştı teşekürler