html_note propriété

html_note propriété

Obtient et définit la chaîne HTML qui contient les données et certains formats dans ce commentaire.

Remarques

S’il s’agit d’un commentaire fileté, la note ne peut pas être modifiée, sinon MS Excel ne peut pas la traiter comme un commentaire fileté.

Exemple


comment1.html_note = "<Font Style='FONT-FAMILY: Calibri;FONT-SIZE: 11pt;COLOR: #0000ff;TEXT-ALIGN: left;'>This is a <b>test</b>.</Font>"

Définition:

@property
def html_note(self):
    ...
@html_note.setter
def html_note(self, value):
    ...

Voir également