remove_area方法

remove_area(self, index)

通过索引删除条件格式的单元格范围。


def remove_area(self, index):
    ...
范围类型描述
indexint要删除的条件格式单元格范围的索引。

remove_area(self, start_row, start_column, total_rows, total_columns)

删除范围内的条件格式。

返回

返回 TRUE,则应删除此 FormatCondtionCollection。


def remove_area(self, start_row, start_column, total_rows, total_columns):
    ...
范围类型描述
start_rowint范围的起始行。
start_columnint范围的起始列。
total_rowsint该范围的行数。
total_columnsint范围的列数。

也可以看看