arkadaşlar çok yeniyim ve aşağıdaki formüle istenilen textbox'a veri girilmediği zaman kaydetmemeli ve uyarı vermeli bunu aşağıdaki formüle nasıl uygularım.
Private Sub KAYDET_Click()
RowCount = Worksheets("CARİ LİSTE").Range("A1").CurrentRegion.Rows.Count
Range("B1").Value = TextBox1.Value
Range("B2").Value = TextBox2.Value
Range("B3").Value = ComboBox2.Value
Range("B4").Value = ComboBox1.Value
Range("B5").Value = TextBox5.Value
Range("B6").Value = TextBox6.Value
Range("B7").Value = TextBox7.Value
Range("B8").Value = TextBox8.Value
ActiveWindow.SmallScroll Down:=-30
Range("B1:B8").Select
Application.CutCopyMode = False
Selection.Copy
Application.Goto Reference:="R60000C1"
Selection.End(xlUp).Select
ActiveWindow.SmallScroll Down:=-9
ActiveCell.Offset(1, 0).Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=True
ActiveCell.Offset(1, 0).Range("A1").Select
ActiveWindow.SmallScroll Down:=-15
Application.CutCopyMode = False
Unload Me
End Sub
Private Sub KAYDET_Click()
RowCount = Worksheets("CARİ LİSTE").Range("A1").CurrentRegion.Rows.Count
Range("B1").Value = TextBox1.Value
Range("B2").Value = TextBox2.Value
Range("B3").Value = ComboBox2.Value
Range("B4").Value = ComboBox1.Value
Range("B5").Value = TextBox5.Value
Range("B6").Value = TextBox6.Value
Range("B7").Value = TextBox7.Value
Range("B8").Value = TextBox8.Value
ActiveWindow.SmallScroll Down:=-30
Range("B1:B8").Select
Application.CutCopyMode = False
Selection.Copy
Application.Goto Reference:="R60000C1"
Selection.End(xlUp).Select
ActiveWindow.SmallScroll Down:=-9
ActiveCell.Offset(1, 0).Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=True
ActiveCell.Offset(1, 0).Range("A1").Select
ActiveWindow.SmallScroll Down:=-15
Application.CutCopyMode = False
Unload Me
End Sub
