DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
On Error GoTo Son
If Intersect(Target, [D:D]) Is Nothing Then Exit Sub
If Target.Row = 1 Then Exit Sub
If Target.Value <> "" Then Exit Sub
Dim SonSat As Long
SonSat = [D65536].End(3).Row
If SonSat = 1 Then SonSat = 2
Target = Application.WorksheetFunction.Max(Range("D2:D" & SonSat)) + 1
Son:
End Sub
=PARÇAAL(A2;2;(UZUNLUK(A2)-1))*1
Option Explicit
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
Dim SonSat As Long
On Error GoTo Son
If Intersect(Target, [D:D]) Is Nothing Then Exit Sub
If Target.Row = 1 Then Exit Sub
If Target.Value <> "" Then Exit Sub
SonSat = [D65536].End(3).Row
If SonSat = 1 Then SonSat = 2
Target = Application.WorksheetFunction.Max(Range("D2:D" & SonSat)) + 1
Son:
End Sub