Excel外部工作簿引用修改时反复弹出更新提示的问题求助
外部工作簿引用修改时频繁弹出更新提示的问题
在MASTER.xlsx中,单元格引用了另一路径下的\othersheets\SLAVE.xlsx,示例引用公式如下:
='\\othersheets\[SLAVE.xlsx]05-09-22'!$B$17
每当修改MASTER.xlsx中的引用位置(比如改为引用SLAVE.xlsx内的12-09-22工作表,公式变为如下):
='\\othersheets\[SLAVE.xlsx]12-09-22'!$B$17
系统都会弹出更新数值的对话框。目前有成千上万条这类引用条目,点击取消或关闭对话框会中断操作,而此前成功实现相同引用操作时并未出现此问题。
已尝试以下解决方法:
- 调整Excel选项:
Options>Advanced>General>Ask to update automatic links - 信任中心设置:
Options>Trust Centre>Trust Center Settings>External Content>Enable automatic update for all Workbook Links (not recommended) - 信任中心设置:
Options>Trust Centre>Trust Center Settings>External Content>Enable all Data Connections (not recommended) - 编辑链接设置:
Data>Edit Links>Don't display the alert and don't update automatic links - 编辑链接设置:
Data>Edit Links>Don't display the alert and update links - 将被引用的工作表名称改为非数字格式
- 将
MASTER.xlsx与SLAVE.xlsx放在同一目录下 - 将动态引用函数(INDIRECT)替换为静态引用
- 尝试将文件保存为启用宏的格式,使用以下VBA代码:
Sub Workbook_Open() Appplication.DisplayAlerts=False End SubSub terfuge() If Application.DisplayAlerts Then Application.DisplayAlerts = False Else Application.DisplayAlerts = True End If End Sub
请问我哪里操作有误?
内容的提问来源于stack exchange,提问作者SamC
相关产品推荐
相关产品推荐

