You are on page 1of 4

Private Sub classe_Click()

End Sub

Private Sub TextBox7_Change()

End Sub

Private Sub caseclear_Click()


Dim A As Long
A = Cells(Rows.Count, 4).End(xlUp).Row
Cells(A, 1).Value = Clear
Cells(A, 2).Value = Clear
Cells(A, 3).Value = Clear
Cells(A, 4).Value = Clear
Cells(A, 5).Value = Clear
Cells(A, 6).Value = Clear
Cells(A, 7).Value = Clear
Cells(A, 8).Value = Clear
Cells(A, 9).Value = Clear
Cells(A, 10).Value = Clear
Cells(A, 11).Value = Clear
Cells(A, 12).Value = Clear
Cells(A, 13).Value = Clear
Cells(A, 14).Value = Clear
Cells(A, 15).Value = Clear
Cells(A, 16).Value = Clear
Cells(A, 17).Value = Clear
Cells(A, 18).Value = Clear
Cells(A, 19).Value = Clear
Cells(A, 20).Value = Clear
Cells(A, 21).Value = Clear
Cells(A, 22).Value = Clear
Cells(A, 23).Value = Clear
Cells(A, 24).Value = Clear
Cells(A, 25).Value = Clear
Cells(A, 26).Value = Clear
Cells(A, 27).Value = Clear
Cells(A, 28).Value = Clear
Cells(A, 29).Value = Clear
Cells(A, 30).Value = Clear
Cells(A, 31).Value = Clear
Cells(A, 32).Value = Clear
Cells(A, 33).Value = Clear
Cells(A, 34).Value = Clear
Cells(A, 35).Value = Clear
Cells(A, 36).Value = Clear
Cells(A, 37).Value = Clear
End Sub

Private Sub efface_Click()


TextBox1 = Clear
TextBox2 = Clear
TextBox3 = Clear
TextBox4 = Clear
TextBox8 = Clear
TextBox9 = Clear
TextBox10 = Clear
TextBox11 = Clear
TextBox12 = Clear
TextBox13 = Clear
TextBox14 = Clear
TextBox15 = Clear
TextBox16 = Clear
TextBox17 = Clear
TextBox18 = Clear
TextBox19 = Clear
TextBox20 = Clear
TextBox21 = Clear
TextBox22 = Clear
TextBox23 = Clear
TextBox24 = Clear
TextBox25 = Clear
TextBox26 = Clear
TextBox27 = Clear
TextBox28 = Clear
TextBox29 = Clear
TextBox30 = Clear
TextBox31 = Clear
TextBox32 = Clear
TextBox33 = Clear
TextBox34 = Clear
TextBox35 = Clear
TextBox36 = Clear
TextBox37 = Clear
TextBox38 = Clear
TextBox39 = Clear
TextBox40 = Clear
End Sub

Private Sub Suivant_Click()


UserForm1.Hide
UserForm2.Show
End Sub

Private Sub UserForm_Click()

End Sub

Private Sub Valider_Click()


Dim A As Long
A = Cells(Rows.Count, 4).End(xlUp).Row + 1

Cells(A, 1).Value = TextBox1.Value


Cells(A, 2).Value = TextBox2.Value
Cells(A, 3).Value = TextBox3.Value
Cells(A, 4).Value = TextBox4.Value
Cells(A, 5).Value = TextBox8.Value
Cells(A, 6).Value = TextBox9.Value
Cells(A, 7).Value = TextBox10.Value
Cells(A, 8).Value = TextBox11.Value
Cells(A, 9).Value = TextBox12.Value
Cells(A, 10).Value = TextBox13.Value
Cells(A, 11).Value = TextBox14.Value
Cells(A, 12).Value = TextBox15.Value
Cells(A, 13).Value = TextBox16.Value
Cells(A, 14).Value = TextBox17.Value
Cells(A, 15).Value = TextBox18.Value
Cells(A, 16).Value = TextBox19.Value
Cells(A, 17).Value = TextBox20.Value
Cells(A, 18).Value = TextBox21.Value
Cells(A, 19).Value = TextBox22.Value
Cells(A, 20).Value = TextBox23.Value
Cells(A, 21).Value = TextBox24.Value
Cells(A, 22).Value = TextBox25.Value
Cells(A, 23).Value = TextBox26.Value
Cells(A, 24).Value = TextBox27.Value
Cells(A, 25).Value = TextBox28.Value
Cells(A, 26).Value = TextBox29.Value
Cells(A, 27).Value = TextBox30.Value
Cells(A, 28).Value = TextBox31.Value
Cells(A, 29).Value = TextBox32.Value
Cells(A, 30).Value = TextBox33.Value
Cells(A, 31).Value = TextBox34.Value
Cells(A, 32).Value = TextBox35.Value
Cells(A, 33).Value = TextBox36.Value
Cells(A, 34).Value = TextBox37.Value
Cells(A, 35).Value = TextBox38.Value
Cells(A, 36).Value = TextBox39.Value
Cells(A, 37).Value = TextBox40.Value
TextBox1 = Clear
TextBox2 = Clear
TextBox3 = Clear
TextBox4 = Clear
TextBox8 = Clear
TextBox9 = Clear
TextBox10 = Clear
TextBox11 = Clear
TextBox12 = Clear
TextBox13 = Clear
TextBox14 = Clear
TextBox15 = Clear
TextBox16 = Clear
TextBox17 = Clear
TextBox18 = Clear
TextBox20 = Clear
TextBox21 = Clear
TextBox22 = Clear
TextBox23 = Clear
TextBox24 = Clear
TextBox25 = Clear
TextBox26 = Clear
TextBox27 = Clear
TextBox28 = Clear
TextBox29 = Clear
TextBox30 = Clear
TextBox31 = Clear
TextBox32 = Clear
TextBox33 = Clear
TextBox34 = Clear
TextBox35 = Clear
TextBox36 = Clear
TextBox37 = Clear
TextBox38 = Clear
TextBox39 = Clear
TextBox40 = Clear

End Sub

You might also like