如何通过密码保护从工作表进入VBA代码编辑器? [英] How do you password protect entering the vba code editor from a sheet?

查看:122
本文介绍了如何通过密码保护从工作表进入VBA代码编辑器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一种可以对我的vba代码进行密码保护的方法,这样工作表中的用户就无法在不输入代码编辑器的情况下进入代码编辑器.

I want a method that will password protect my vba code, so that users in the sheet won't be able to go into the code editor without entering it.

推荐答案

您可以按如下所述通过密码保护vba代码:

You can protect your vba code by a password as described here: http://www.ozgrid.com/VBA/protect-vba-code.htm

但这不是保护代码的最安全方法,请参阅此线程以获取更多信息:

But this is not the most secure way to protect your code, see this thread for more information: Lock down Microsoft Excel macro

这篇关于如何通过密码保护从工作表进入VBA代码编辑器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆