giải thích giúp e đoạn code này với? (theo file nhaplieu o tren)
Private Sub CommandButton1_Click()
Dim nextrow As Integer
Sheets("DSHS").Activate
nextrow = Range("b65000").End(xlUp).Row + 1
If Len(TextName) = 0 Then
MsgBox "Ten hoc sinh khong duoc de trong", vbCritical, "Thong bao"
Exit Sub
End If
Cells(nextrow, 1) = Range("b65000").End(xlUp).Row - 2
Cells(nextrow, 2) = TextName.Text
If CheckBox1 Then Cells(nextrow, 3) = "x"
Cells(nextrow, 4) = TextName1.Text
Cells(nextrow, 5) = Combonoisinh.Text
Cells(nextrow, 6) = Combodiachi.Text
Cells(nextrow, 7) = TextName3.Text
Cells(nextrow, 8) = TextName4.Text
Cells(nextrow, 9) = TextName5.Text
Cells(nextrow, 10) = TextName6.Text
Cells(nextrow, 11) = TextName7.Text
Cells(nextrow, 12) = TextName8.Text
TextName = ""
CheckBox1 = False
TextName1 = ""
Combonoisinh = ""
Combodiachi = ""
TextName3 = ""
TextName4 = ""
TextName5 = ""
TextName6 = ""
TextName7 = ""
TextName8 = ""
With Me.ListBox1
.BoundColumn = 1
.ColumnCount = 1
.ColumnHeads = False
.TextColumn = True
.RowSource = "DSHS!b4:l" & xlLastRow("DSHS")
.ListIndex = 0
End With
End Sub