Bonjour j'ai un tableau de TextBox à remplir et qui s'appelle TxtRep1. L'élement d'indice 0 n'existe pas alors que ma boucle commence à l'indice 1 (TxtRep1 est de dimension 30). Pouvez-vous m'aider à trouver la cause de ce problème ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 Option Explicit Dim i As Integer 'Sert pour boucle de remise à zéro ........... Private Sub Initialisation() For i = 1 To 29 frmRepartition.TxtRep1(i).Text = "" Next i End Sub
Partager