remove_at方法

remove_at(cell_name)

删除特定单元格的注释。

def remove_at(self, cell_name):
    ...
范围 类型 描述
cell_name str 包含注释的单元格的名称。

例子


comments.remove_at("B2")

remove_at(row, column)

删除特定单元格的注释。

def remove_at(self, row, column):
    ...
范围 类型 描述
row int 行索引。
column int 列索引。

例子


comments.remove_at(1, 1)

也可以看看