BASSDINGUE
XLDnaute Occasionnel
Bonjour le forum
sur la ligne en rouge j'ai un message qui dit que "l'indice n'appartient pas a la selection"
Aquoi cela correspond?
col = Array("aa", "ak", "av", "bg", "z", "bj", "bl")
For n = 0 To Me.Controls.Count - 1
If InStr(Me.Controls(n).Name, "FR") <> 0 Then
For m = 0 To Me.Controls(n).Controls.Count - 1
If Me.Controls(n).Controls(m).Value = True Then
temp = Me.Controls(n).Controls(m).Caption
End If
Next m
MsgBox (n)
L2 = Sheets("table_client").Range("G65536").End(xlUp).Row + 1
With Sheets("table_client")
.Range(col(n) & L2).Value = temp
End With
End If
Next n
Car effectivement si n est le numero de colonne je suis loin du compte
Merci
sur la ligne en rouge j'ai un message qui dit que "l'indice n'appartient pas a la selection"
Aquoi cela correspond?
col = Array("aa", "ak", "av", "bg", "z", "bj", "bl")
For n = 0 To Me.Controls.Count - 1
If InStr(Me.Controls(n).Name, "FR") <> 0 Then
For m = 0 To Me.Controls(n).Controls.Count - 1
If Me.Controls(n).Controls(m).Value = True Then
temp = Me.Controls(n).Controls(m).Caption
End If
Next m
MsgBox (n)
L2 = Sheets("table_client").Range("G65536").End(xlUp).Row + 1
With Sheets("table_client")
.Range(col(n) & L2).Value = temp
End With
End If
Next n
Car effectivement si n est le numero de colonne je suis loin du compte
Merci