简体   繁体   English

密码保护所有Excel宏的创建和使用

[英]Password Protect ALL Excel Macro Creation and Use

I have a spreadsheet that I have password protected from allowing users to edit. 我有一个电子表格,该电子表格已受密码保护,不允许用户进行编辑。

I would also like to password protect ANY and ALL actions related to Macros within this spreadsheet. 我还想用密码保护此电子表格中与宏相关的任何和所有操作。 I don't want anyone to be able to create a new macro in this sheet, run an old macro in this sheet, or even run a macro stored in another place on the computer. 我不希望任何人能够在此工作表中创建新的宏,在此工作表中运行旧的宏,甚至运行存储在计算机另一位置的宏。

Is this possible? 这可能吗?

This is not possible in excel. 这在excel中是不可能的。 There may be some system adminy thing you can do with Group Policies to force macro security, but that would affect all excel spreadsheets for that user, and not just the specific one you want. 您可以对组策略执行某些系统管理操作,以强制执行宏安全性,但这会影响该用户的所有excel电子表格,而不仅仅是您想要的特定电子表格。 The whole idea is Excel is a document, not an application. 整个想法是Excel是文档,而不是应用程序。 Documents by design are reproduced and shared, and what the end user does with it is his/her perogative. 设计复制的文档可以共享并共享,最终用户的做法是他/她的想法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM