Merci pour ta réponse.
Si je je ne mets qu'un seul <br> après le "Bonjour,", lorsque je fais "entrée" lors de la modification du mail, les sauts de lignes sont bien collés.
S’il y a plusieurs <br>, il faut faire shift+entrée pour avoir le même résultat visuel.
Mon objectif : avoir plusieurs <br> avec les macros pour pouvoir compléter le mail directement, et que la touche entrée fasse le même résultat que shift+entrée.
Voici le code du mail après modification manuelle avec la touche "entrée" fonctionnelle (un seul "<br>" initial)
</o:shapelayout></xml><![endif]--></head><body lang=FR link="#0563C1" vlink="#954F72" style='tab-interval:35.4pt;word-wrap:break-word'><div class=WordSection1><div><p class=MsoNormal>Bonjour,</p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Ok<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Ok<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p></div><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse;mso-yfti-tbllook:1184'><tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;height:22.5pt'><td width=111 style='width:83.25pt;border:solid black 1.0pt;mso-border-alt:solid black .75pt;background:#BFBFBF;padding:.75pt .75pt .75pt .75pt;height:22.5pt'><p class=MsoNormal align=center style='text-align:center'><span style='color:black;mso-color-alt:windowtext'>Action 1</span></p></td><td width=111 style='width:83.25pt;border:solid black 1.0pt;border-left:none;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;background:#BFBFBF;padding:.75pt .75pt .75pt .75pt;height:22.5pt'><p class=MsoNormal align=center style='text-align:center'><span style='color:black;mso-color-alt:windowtext'>Action 2</span></p></td><td width=111 style='width:83.25pt;border:solid black 1.0pt;border-left:none;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;background:#BFBFBF;padding:.75pt .75pt .75pt .75pt;height:22.5pt'><p class=MsoNormal align=center style='text-align:center'><span style='color:black;mso-color-alt:windowtext'>Action 3</span></p></td><td width=111 style='width:83.25pt;border:solid black 1.0pt;border-left:none;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;background:#BFBFBF;padding:.75pt .75pt .75pt .75pt;height:22.5pt'><p class=MsoNormal align=center style='text-align:center'><span style='color:black;mso-color-alt:windowtext'>Action 4</span></p></td><td width=111 style='width:83.25pt;border:solid black 1.0pt;border-left:none;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;background:#BFBFBF;padding:.75pt .75pt .75pt .75pt;height:22.5pt'><p class=MsoNormal align=center style='text-align:center'><span style='color:black;mso-color-alt:windowtext'>Action 5</span></p></td><td width=111 style='width:83.25pt;border:solid black 1.0pt;border-left:none;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;background:#BFBFBF;padding:.75pt .75pt .75pt .75pt;height:22.5pt'><p class=MsoNormal align=center style='text-align:center'><span style='color:black;mso-color-alt:windowtext'>Action 6</span></p></td><td width=111 style='width:83.25pt;border:solid black 1.0pt;border-left:none;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;background:#BFBFBF;padding:.75pt .75pt .75pt .75pt;height:22.5pt'><p class=MsoNormal align=center style='text-align:center'><span style='color:black;mso-color-alt:windowtext'>Commentaires</span></p></td></tr><tr style='mso-yfti-irow:1'><td width=75 style='width:56.25pt;border:solid black 1.0pt;border-top:none;mso-border-top-alt:solid black .75pt;mso-border-alt:solid black .75pt;background:#BFBFBF;padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal align=center style='text-align:center'><span style='color:black;mso-color-alt:windowtext'>Fait</span></p></td><td width=75 style='width:56.25pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;border-right:solid black 1.0pt;mso-border-top-alt:solid black .75pt;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;padding:.75pt .75pt .75pt .75pt'></td><td width=75 style='width:56.25pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;border-right:solid black 1.0pt;mso-border-top-alt:solid black .75pt;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;padding:.75pt .75pt .75pt .75pt'></td><td width=75 style='width:56.25pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;border-right:solid black 1.0pt;mso-border-top-alt:solid black .75pt;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;padding:.75pt .75pt .75pt .75pt'></td><td width=75 style='width:56.25pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;border-right:solid black 1.0pt;mso-border-top-alt:solid black .75pt;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;padding:.75pt .75pt .75pt .75pt'></td><td width=75 style='width:56.25pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;border-right:solid black 1.0pt;mso-border-top-alt:solid black .75pt;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;padding:.75pt .75pt .75pt .75pt'></td><td width=75 style='width:56.25pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;border-right:solid black 1.0pt;mso-border-top-alt:solid black .75pt;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;padding:.75pt .75pt .75pt .75pt'></td></tr><tr style='mso-yfti-irow:2;mso-yfti-lastrow:yes'><td width=75 style='width:56.25pt;border:solid black 1.0pt;border-top:none;mso-border-top-alt:solid black .75pt;mso-border-alt:solid black .75pt;background:#BFBFBF;padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal align=center style='text-align:center'><span style='color:black;mso-color-alt:windowtext'>Date</span><span style='font-size:11.0pt'><o:p></o:p></span></p></td><td width=75 style='width:56.25pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;border-right:solid black 1.0pt;mso-border-top-alt:solid black .75pt;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;padding:.75pt .75pt .75pt .75pt'></td><td width=75 style='width:56.25pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;border-right:solid black 1.0pt;mso-border-top-alt:solid black .75pt;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;padding:.75pt .75pt .75pt .75pt'></td><td width=75 style='width:56.25pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;border-right:solid black 1.0pt;mso-border-top-alt:solid black .75pt;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;padding:.75pt .75pt .75pt .75pt'></td><td width=75 style='width:56.25pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;border-right:solid black 1.0pt;mso-border-top-alt:solid black .75pt;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;padding:.75pt .75pt .75pt .75pt'></td><td width=75 style='width:56.25pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;border-right:solid black 1.0pt;mso-border-top-alt:solid black .75pt;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;padding:.75pt .75pt .75pt .75pt'></td><td width=75 style='width:56.25pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;border-right:solid black 1.0pt;mso-border-top-alt:solid black .75pt;mso-border-left-alt:solid black .75pt;mso-border-alt:solid black .75pt;padding:.75pt .75pt .75pt .75pt'></td></tr></table><p class=MsoNormal><span style='font-size:11.0pt;mso-fareast-font-family:Calibri;mso-fareast-language:EN-US'>Bonjour,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;mso-fareast-font-family:Calibri;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;mso-fareast-font-family:Calibri;mso-fareast-language:EN-US'>Ceci est le mail d'origine.<o:p></o:p></span></p>
Il y a eu un mail d'origine, puis un ajout de tableau avec la macro, puis ajout des sauts de ligne et des 2 "ok"
Partager