Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

VBA Outlook 2003 - Formater un mail

2 réponses
Avatar
thomas
Bonjour,

Quand on compose un mail en VBA comment formater le texte pour le mettre en
gras, choisir une taille de police etc...

Merci

2 réponses

Avatar
Oliv'
*thomas <nomail> que je salue a écrit *:
Bonjour,

Quand on compose un mail en VBA comment formater le texte pour le
mettre en gras, choisir une taille de police etc...

Merci



Bonjour,
Tout dépend du choix du format du Message : en brut pas de formatage
possible, en RTF c'est trop complexe reste donc en html.

Donc c'est du HTML qu'il faut mettre dans htmlbody.

<FONT color=#000080 size=2><STRONG>en
gras</STRONG></FONT>


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have a nice day
Oliv'
Outlook : http://faq.outlook.free.fr/
les macros Outlook : http://faq.outlook.free.fr/articles.php?cat_id
les archives : http://groups.google.com/group/microsoft.public.fr.outlook
Dernière chance http://www.outlookcode.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Avatar
thomas
ok merci

"Oliv'" a écrit dans le message
de groupe de discussion :

*thomas <nomail> que je salue a écrit *:
Bonjour,

Quand on compose un mail en VBA comment formater le texte pour le
mettre en gras, choisir une taille de police etc...

Merci



Bonjour,
Tout dépend du choix du format du Message : en brut pas de formatage
possible, en RTF c'est trop complexe reste donc en html.

Donc c'est du HTML qu'il faut mettre dans htmlbody.

<FONT color=#000080 size=2><STRONG>en
gras</STRONG></FONT>


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have a nice day
Oliv'
Outlook : http://faq.outlook.free.fr/
les macros Outlook : http://faq.outlook.free.fr/articles.php?cat_id
les archives : http://groups.google.com/group/microsoft.public.fr.outlook
Dernière chance http://www.outlookcode.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~