etykieta de Tableau Dans des label.text en vba
Sub tableaux()
Dim tableauLabel As Label(,) = {{Label1, Label2, Label3}, {Label4, Label5, Label6}, {Label7, Label8, Label9}}
' il y avait une virgule en trop entre les deux dernières accolades
Dim TA(,) As String = New String(2, 2) {{"A", "B", "C"}, {"a", "b", "c"}, {"c", "d", "e"}}
Dim i As Long
Dim j As Long
For i = 0 To 2
For j = 0 To 2
tableauLabel(i, j).Text = TA(i, j)
Next j
Next i
End Sub
Yellowed Yak