remove_area方法

remove_area(index)

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

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

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_row int 范围的 startRow。
start_column int 范围的 startColumn。
total_rows int 范围的行数。
total_columns int 范围的列数。

也可以看看