一个EXCEL单元格不让编辑,VBA代码怎么写

2025-02-24 21:34:03
推荐回答(1个)
回答1:

如果是通过保护工作表来实现的话
可以参考代码:
Range("A1").Locked =True
ActiveSheet.Protect