remove_at方法
remove_at(self, index)
从工作簿中删除指定的外部链接。
def remove_at(self, index):
...
范围 | 类型 | 描述 |
---|---|---|
index | int | 要删除的外部链接的索引。 |
注意事项
删除外部链接时,所有引用该链接的公式也将被删除,因为 引用将失效。
remove_at(self, index, update_references_as_local)
从工作簿中删除指定的外部链接。
def remove_at(self, index, update_references_as_local):
...
范围 | 类型 | 描述 |
---|---|---|
index | int | 要删除的外部链接的索引。 |
update_references_as_local | bool | 是否将给定外部链接的所有引用更新为当前工作簿本身的引用。 检查 ExternalLinkCollection.clear 以获取有关此参数的更多详细信息。 |