简体   繁体   中英

VBA : Protect whole sheet and leave range unprotected

我正在使用Excel,并且想知道在脚本中是否有一种方法可以完全保护工作表,但保留完全不受保护的某个范围(此处的范围是(“ B2”,“ C32”)

In Format, unlock the cells you want to allow updating (they are all locked by default), then activate sheet protection, with or without password. For VBA learning, use the recorder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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