DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub Worksheet_Change(ByVal Target As Range)
son = WorksheetFunction.Max(3, Cells(Rows.Count, "B").End(3).Row + 1)
If Intersect(Target, Range("B3:B" & son)) Is Nothing Then Exit Sub
If IsNumeric(Target) = True Then
Application.EnableEvents = False
Target = Left(Target, 7)
Application.EnableEvents = True
End If
End Sub
Sub rakam()
son = WorksheetFunction.Max(3, Cells(Rows.Count, "B").End(3).Row + 1)
For i = 3 To son
If IsNumeric(Cells(i, "B")) = True Then
Cells(i, "B") = Left(Cells(i, "B"), 7)*1
End If
Next
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
On Error Resume Next
If Intersect(Target, Range("b3:b10")) Is Nothing Then Exit Sub
Application.EnableEvents = False
Target.Value = Left(Target, 7)
For Each alan In Selection
alan.Value = Left(alan, 7)
Next
Application.EnableEvents = True
End Sub