get_dependents_in_calculation方法

get_dependents_in_calculation

获取计算结果取决于特定单元格的所有单元格。

退货

枚举器枚举所有依赖项(Cell 对象)

def get_dependents_in_calculation(self, row, column, recursive):
    ...
范围类型描述
rowint特定单元格的行索引
columnint特定单元格的列索引。
recursivebool是否返回那些不直接引用特定单元格的依赖项
但引用该单元格的其他叶子。

评论

要使用此方法,请确保工作簿已设置为真实值 FormulaSettings.enable_calculation_chain 并已使用此设置进行了全面计算。 如果没有对此单元格的公式引用,则将返回 null。 更多详情和示例请参见Cell.get_dependents_in_calculation

也可以看看