select_range方法

select_range(start_row, start_column, total_rows, total_columns, remove_others)

选择一个范围。

def select_range(self, start_row, start_column, total_rows, total_columns, remove_others):
    ...
范围 类型 描述
start_row int 起始行。
start_column int 起始栏
total_rows int 行数。
total_columns int 列数
remove_others bool True 表示移除其他选中的范围,只选择这个范围。

也可以看看