remove_area方法

remove_area(index)

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

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

remove_area(start_row, start_column, total_rows, total_columns)

删除范围内的条件格式。

返回

返回 TRUE,应删除此 FormatCondtionCollection。

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

也可以看看