View Single Post
 
Old 06-13-2022, 11:41 AM
jpl jpl is offline Windows 7 64bit Office 2010 32bit
Advanced Beginner
 
Join Date: Jan 2016
Location: France
Posts: 33
jpl is on a distinguished road
Default

Merci pour vos réponses.
Toutefois, si j'utilise la méthode décrite dans mon premier message (Mettre à jour Style1 pour correspondre à la sélection), la modification s'applique uniquement au texte tapé en Style1, et Style1 est un style de paragraphe, pas un style de caractère.
Le texte tapé en Style1 apparait bien sur un fond rouge.
Faire apparaitre du texte sur un fond coloré est donc possible pour un style de paragraphe, pas en créant ce style, mais uniquement en le modifiant pour qu'il corresponde à une sélection , ou bien en utilisant VBA.



Traduction :
Thank you for your answers.
However, if I use the method described in my first post (Update Style1 to match selection), the change only applies to text typed in Style1, and Style1 is a paragraph style, not a character style .
Text typed in Style1 appears on a red background.
Making text appear on a colored background is therefore possible for a paragraph style, not by creating this style, but only by modifying it to match a selection, or by using VBA.
Reply With Quote