Bonjour,
j'y suis presque...
If Cel <> "" Then DoEvents: Application.Speech.Speak Cel ....> là c'est OK
Application.Speech.Speak Cel, , Purge:=True-----> pour cette ligne si je mets un bouton ça plante
j'ai essayé de mettre MsgBox mais la boite de dialogue disparait quand on clic sur OK
Peut-on y mettre un code si (clic 1 fois =lit , si clic 2fois = arrêt)?
voici le code
Sub TraducFR()
Set Sh_Fr = Sheets("TEXTE-Français-Italien")
Dim DerLi As Long, rep As String
DerLi = Sh_Fr.Range("A" & Rows.Count).End(xlUp).Row
For Each Cel In Sh_Fr.Range("A1:A" & DerLi)
'rep = MsgBox("Clique sur ok pour écouter, annuler pour arrêter la lecture", vbOKCancel + vbExclamation, "Lecture")
If Cel <> "" Then DoEvents: Application.Speech.Speak Cel ' ok pour la lecture
Next
Sheets("jeu").Activate
Set Sh_Fr = Nothing
End Sub
merci
@ bientôt