1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| Private Sub CommandButton1_Click()
dl1 = Range("A65536").End(xlUp).Row ' =1
TextBox1 = ""
TextBox2 = ""
TextBox3 = ""
Cells(2, 1) = ""Cells(2, 1) = ""'Cells(1, 1) = ""
Cells(2, 1) = TextBox1
Cells(3, 1) = TextBox2
Cells(4, 1) = TextBox3
Cells(2, 1) = ""
Cells(3, 1) = ""
Cells(4, 1) = ""
l1 = Len(Cells(1, 1)) 'l1 = 0 sous dos = 13, 10
l2 = Len(Cells(2, 1)) 'l2 = 0 sous dos : n'existe pas
l3 = Len(Cells(3, 1)) 'l3 = 0 idem
l4 = Len(Cells(4, 1)) 'l4 = 0 idem
dl2 = Range("A65536").End(xlUp).Row '= 1
Unload UserForm1
End Sub |
Partager