gpt4 book ai didi

EXCEL VBA UserInterfaceOnly := True not working

转载 作者:行者123 更新时间:2023-12-04 21:08:23 25 4
gpt4 key购买 nike

当我使用 (some code here).copy destination:=(some code there) 时。它仍然会提示单元格的保护问题。基本上它不会让我的代码运行。

最佳答案

不幸的是,状态 UserInterfaceOnly:=TRUE 未存储在文件中 - 因此,如果您重新打开文件,它将受到完全保护。使用 Workbook_Open 事件重新应用此保护状态 - 或者取消保护然后直接在 VBA 代码中重新保护工作表。

参见 Ozgrid了解更多详情!

关于EXCEL VBA UserInterfaceOnly := True not working,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14162483/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com