0
当我使用(some code here).copy destination:=(some code there)
时。它仍会提示输入protection issues on cells
。基本上它不会让我的代码运行。EXCEL VBA UserInterfaceOnly:= True不起作用
当我使用(some code here).copy destination:=(some code there)
时。它仍会提示输入protection issues on cells
。基本上它不会让我的代码运行。EXCEL VBA UserInterfaceOnly:= True不起作用
不幸的是状态UserInterfaceOnly:=TRUE
没有存储在文件中 - 因此,如果您重新打开该文件,它将被完全保护。请使用Workbook_Open
事件重新应用此保护状态 - 或者取消保护,然后直接在您的VBA代码中重新保护工作表。
查看Ozgrid了解更多详情!
同样的问题在这里。我甚至无法工作workbook_open无理由:( –