find方法

find(what, previous_cell)

查找包含输入对象的单元格。

返回

Cell 对象。

def find(self, what, previous_cell):
    ...
范围类型描述
whatany要搜索的对象。
类型应为 int、double、DateTime、string、bool。
previous_cellCell具有相同对象的上一个单元格。
如果从头开始搜索,这个参数可以设置为空。

评论

如果未找到单元格,则返回 null(无)。

find(what, previous_cell, find_options)

查找包含输入对象的单元格。

返回

Cell 对象。

def find(self, what, previous_cell, find_options):
    ...
范围类型描述
whatany要搜索的对象。
类型应为 int、double、DateTime、string、bool。
previous_cellCell具有相同对象的上一个单元格。
如果从头开始搜索,这个参数可以设置为空。
find_optionsFindOptions查找选项

评论

如果未找到单元格,则返回 null(无)。

也可以看看