arkadaşlar merhaba aşağıdaki sarı renkli bölge hata veriyor hata nedir yardımcı olurmusunuz
Private Sub TextBox1_AfterUpdate()
If TextBox1 <> "" Then
sonsatır = WorksheetFunction.CountA(Worksheets(ComboBox2.Value).Range(ListBox7.Value)) + 1
Worksheets(ComboBox2.Value).Cells(sonsatır, ListBox9.Value) = TextBox1.Value
Worksheets(ComboBox2.Value).Cells(sonsatır, ListBox8.Value) = ComboBox1.Value
TextBox1.Value = ""
Else
End If
End Sub
Private Sub TextBox1_AfterUpdate()
If TextBox1 <> "" Then
sonsatır = WorksheetFunction.CountA(Worksheets(ComboBox2.Value).Range(ListBox7.Value)) + 1
Worksheets(ComboBox2.Value).Cells(sonsatır, ListBox9.Value) = TextBox1.Value
Worksheets(ComboBox2.Value).Cells(sonsatır, ListBox8.Value) = ComboBox1.Value
TextBox1.Value = ""
Else
End If
End Sub
