如何设置ACCESS2003(运行时)的宏安全性级别


ACCESS2003版本加了宏安全性级别的设置,设置地用处在处不表。方法:
操作菜单
可以自定义菜单,或直接调用菜单上的操作:
CommandBars("menu bar").Controls("工具(&T)").Controls("宏(&M)").Controls("安全性(&S)...").Execute

设置注册表(运行时不适用):
[HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Access\Security]
"Level"=1 //低
"Level"=2 //中
"Level"=3 //高

 

本文作者:
« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3