üstatlar merhabalar aşağıdaki kodu bir türlü uyarlayamadım combox1 ve combox3 te mükerrer kayıt girildiğinde işlemi engelleye bilirmiyim
uayrlamay çalıştığım kod aşağıdaki gibidir
Private Sub kaydet_Click()
Sheets("DATA").Select
'durum = True
Dim son, sira As Long
If durum = True Then
son = [a65536].End(3).Row
sira = Cells(son, "a").Value
Cells(son + 1, "a").Select
ActiveCell.Offset(0, 0).Value = sira + 1
VeriVer
ElseIf durum = False Then
VeriVer
Else
Exit Sub
End If
UserForm_Initialize
End Sub
bukonuda yardım edebilirmisiniz
uayrlamay çalıştığım kod aşağıdaki gibidir
Private Sub kaydet_Click()
Sheets("DATA").Select
'durum = True
Dim son, sira As Long
If durum = True Then
son = [a65536].End(3).Row
sira = Cells(son, "a").Value
Cells(son + 1, "a").Select
ActiveCell.Offset(0, 0).Value = sira + 1
VeriVer
ElseIf durum = False Then
VeriVer
Else
Exit Sub
End If
UserForm_Initialize
End Sub
bukonuda yardım edebilirmisiniz