Bonjour,
Encore besoin de vous ! J'ai une erreur quand je valide, et quand je Débogage il me surligne la partie rouge ci-dessous.
Si quelqu'un pouvez m'aider sa me rendrai un grand service.
"erreur 438 "propriété ou methode non gérée par cet objet"
Cordialement
Max
Encore besoin de vous ! J'ai une erreur quand je valide, et quand je Débogage il me surligne la partie rouge ci-dessous.
Si quelqu'un pouvez m'aider sa me rendrai un grand service.
"erreur 438 "propriété ou methode non gérée par cet objet"
Code:
Private Sub CommandButton3_Click()
Dim Ctrl As Control
For Each Ctrl In Frame1.Controls
[COLOR="Red"]If Ctrl.Object.Value = True Then[/COLOR]
With Sheets("Adresse")
L = .Range("B65000").End(xlUp).Row + 1
Cells(L, 2) = LabelID
Cells(L, 3) = Ctrl.Caption & " " & TextBox1.Value
Cells(L, 4) = TextAdresse.Value
Cells(L, 5) = TextCP.Value
Cells(L, 6) = TextVille.Value
Cells(L, 7) = TextTelFix.Value
Cells(L, 8) = TextTelMob.Value
Cells(L, 9) = TextFax.Value
Cells(L, 10) = TextEmail1 & "@" & TextEmail2.Value
End With
End If
Next Ctrl
IniLabelID
Unload Me
End Sub
Cordialement
Max