metodo add

add(cell_name)

Aggiunge un commento alla raccolta.

ritorna

Comment indice oggetto.

def add(self, cell_name):
    ...
ParametroTipoDescrizione
cell_namestrCell nome.

Esempio


commentIndex2 = comments.add("B2")
comment2 = comments[commentIndex2]
comment2.note = "Second note."
comment2.font.name = "Times New Roman"

add(row, column)

Aggiunge un commento alla raccolta.

ritorna

Comment indice oggetto.

def add(self, row, column):
    ...
ParametroTipoDescrizione
rowintCell indice riga.
columnintCell indice colonna.

Esempio


commentIndex1 = comments.add(0, 0)
comment1 = comments[commentIndex1]
comment1.note = "First note."
comment1.font.name = "Times New Roman"

Guarda anche