remove_at方法

remove_at(self, index)

从工作簿中删除指定的外部链接。


def remove_at(self, index):
    ...
范围类型描述
indexint要删除的外部链接的索引。

注意事项

删除外部链接时,所有引用该链接的公式也将被删除,因为 引用将失效。

remove_at(self, index, update_references_as_local)

从工作簿中删除指定的外部链接。


def remove_at(self, index, update_references_as_local):
    ...
范围类型描述
indexint要删除的外部链接的索引。
update_references_as_localbool是否将给定外部链接的所有引用更新为当前工作簿本身的引用。
检查 ExternalLinkCollection.clear 以获取有关此参数的更多详细信息。

也可以看看